Adding multiple domains for user does not work
Steps
Bug 1
- Create a new domain
- Add a new user
- Set the username and password
- Press Edit domains and select root domain and the new domain you just created
- Set any permission levels to the domains
- Press Apply
When you refresh the page you see that the user is created but it has only one domain permission. The user should have permissions saved to both domains.
Bug 2
- Go to just added user view
- Press Edit Domains
- Add the other domain that the user has no permission to
- Add any permission and press Apply
Nothing happens. The user should have permission to the other domain now.
It seems that the postNewDomainPermissionUser
function does not return anything because the function implementation is commented out. I'm not sure if this feature has never worked on the frontend. The backend should support it fully.