You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating custom Global Permissions, Studio does not honor or reflect the permissions. Users can't create sites, view sites, or use any other functionality that should be granted.
Steps to reproduce
Steps:
Create a new Custom Role Mapping under /data/repos/global/configuration/global-role-mappings-config.xml and map it to the system_admin role.
Run a git add and git commit of the permission file
Start up studio
Log in as the admin user and create a new group that matches the group name of the role you created
Once the new group has been created, create a new user and add it to the new group
Log in as the new user
Attempt to create a site. Notice that the UI get stuck spinning and the network tab says that the user does not have permissions.
@sumerjabri@russdanner Regarding the issue, I updated the check from group system_admin to the role system_admin to determine whether a user is a system admin.
For other roles, ex: site admin, developer, etc we still need to set at the site level. Any custom group in global permissions won't take effect. Is this expected or do we want to improve these roles mapping as well?
And we also have the API 2 migration in 4.2. 0 which will eventually remove the hard code system_admin group/role checking to actually use the permissions file as it is(?)
Duplicates
Latest version
Describe the issue
When creating custom Global Permissions, Studio does not honor or reflect the permissions. Users can't create sites, view sites, or use any other functionality that should be granted.
Steps to reproduce
Steps:
/data/repos/global/configuration/global-role-mappings-config.xml
and map it to thesystem_admin
role.Relevant log output
No response
Screenshots and/or videos
global-role-mappings-config.zip
The text was updated successfully, but these errors were encountered: