sites_ftp_user_get not returning all users
short description
What is happening and what is wrong with that?
When a ftp account is created as admin in ispconfig and assigned to an user, the new account it is not returned when the API request "sites_ftp_user_get" is used but it is displayed in the user ispconfig panel. If i create the account logged as the user it is displayed in the list. Same happens with all resources(db users, etc).
correct behaviour
What should happen instead?
The new resource should be returned in the list from the request "sites_ftp_user_get" when an admin creates a resource for a user.
environment
Server OS: Centos
Server OS version: 7
ISPConfig version: 3.1.13p1