Skip to content

[IDE] Security - Doubling of Default Roles Management #4911

Description

@TIVMOF

Description
Roles can be added both from the properties of an entity and from the Navigation menu, to an perspective. From the Security tab of an entity the added roles are called roleRead and roleWrite. From the Navigation menu the added role to perspective is called perspectiveRole. Both types of roles are added all throughout the extension files of the project. When same kind of roles are added they are doubled.

{
    "module": "codbex-invoices/gen/codbex-invoices/ui/salesinvoice/SalesInvoice/view.js",
    "extensionPoint": "application-views",
    "description": "codbex-invoices - Application View",
    "role": "codbex-invoices.salesinvoice.SalesInvoiceReadOnly,codbex-invoices.salesinvoice.SalesInvoiceFullAccess,codbex-invoices.salesinvoice.SalesInvoiceReadOnly,codbex-invoices.salesinvoice.SalesInvoiceFullAccess"
}

To Reproduce

  1. Start an instance of Eclipse Dirigible
  2. Create or pull a project
  3. In an edm file add roles to an entity via the Security tab of it's properties
  4. In an edm file add roles to an perspective via the Navigation menu
  5. Regenerate the project
  6. See the edited files

Screenshots

Image Image

Metadata

Metadata

Assignees

Type

Projects

Status
To do

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions