Closed ArdJonker closed 3 weeks ago
This is a user in a consultancy account trying to deactivate a user in a consultee account, right? @nhoening any thoughts on whether or not this should be an allowed action?
At this time,
So for now, deactivating the button if the current user is not account-admin, and we can open a discussion around allowing consultants to update, create children or delete
To be more to the point: Ard-Read-Only can only read, not make changes.
We should hide the button if the user is not admin or account-admin.
That closes this issue.
account-admin
as i work on this I notice that the "account-admin" cant view the users page at all, if that's normal then the condition on who to see this button should be only the "admin"
Button "Deactivate user" leads to authorisation error
Steps to reproduce
Result
message "You cannot be authorized for this content or functionality. It requires admin permission(s)." result "Rejected" status "INVALID_SENDER"
Expected result
Or: Button not visible Or: Deactivated user