-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Environment
-
Platform version: 7.2.8
-
Addon version: 2.0.2
-
Client type: Web
-
Browser: Firefox
-
Database: PostgreSQL
-
Operating system: Linux
Description of the bug or enhancement
After installing the addon in a completely new and empty project, I have created a new Tenant, Access Group and Admin User following the documentation and the demo project. After all the steps I have logged in with the new tenant admin user, having access to the "Tenant management > Tenants" entry in the application menu but nothing else.
Checking the tenant-admin-role, I found that it allows the User, Group and Role screens but not the "Administration" section in the menu. I added it after creating an adhoc role "tenant-admin-role-path" and I could finally create a regular user for the new tenant.
I have checked the code of TenantsAdminRole.java class and I guess that screensIds property should contains "administration" too, currently not present:
@ScreenAccess(screenIds = {"tenant-management", "cubasdbmt$Tenant.browse", "cubasdbmt$Tenant.edit", "sec$Role.browse", "sec$Role.lookup", "sec$Role.edit", "sec$Group.browse", "sec$Group.lookup", "sec$Group.edit", "sec$User.browse", "sec$User.lookup", "sec$User.edit"})