Admin Suite modules can be restricted for certain users based on the module visibility rights of a role. In other words, you can attach modules to specific role(s) to grant or limit its visibility.
To do so, we use AdminUpdateModuleAllowedRoles:
- AdminGetModuleAllowedRoles - returns a list of attached roles
- AdminGetAllModules - this service will now only return the modules that the user is allowed to see
- AdminUpdateRoleAllowedModules - attach roles to modules
- AdminGetRoleAllowedModules - returns a list of attached roles