Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Role editor doesn't show inherited permissions for design-time roles #58

Closed
alexbudarov opened this issue Feb 22, 2021 · 0 comments
Closed
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@alexbudarov
Copy link

See io.jmix.reportsui.role.ReportsUiMinimalRoleDefinition

@ResourceRole(name = ReportsUiMinimalRoleDefinition.ROLE_NAME, code = ReportsUiMinimalRoleDefinition.ROLE_NAME)
public interface ReportsUiMinimalRoleDefinition extends ReportsMinimalRoleDefinition {

    String ROLE_NAME = "ui-reports-minimal";

    @ScreenPolicy(screenIds = {
            "report_inputParameters",
            "report_Report.run",
            "report_showReportTable",
            "report_showPivotTable",
            "report_showChart",
            "commonLookup"
    })
    @Override
    void access();
}

It inherits some entity permissions from other role definition.

But in runtime Role editor doesn't show inherited permissions:
image

@alexbudarov alexbudarov added the type: bug Something isn't working label Feb 22, 2021
@andreysubbotin andreysubbotin added this to the 1.0.0 milestone Feb 24, 2021
@andreysubbotin andreysubbotin self-assigned this Feb 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants