Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Administration menu entry missing in the tenant-admin-role #55

Copy link
Copy link
@fmvalsera

Description

@fmvalsera
Issue body actions

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"})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.