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
- Start an instance of Eclipse Dirigible
- Create or pull a project
- In an edm file add roles to an entity via the Security tab of it's properties
- In an edm file add roles to an perspective via the Navigation menu
- Regenerate the project
- See the edited files
Screenshots

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
Screenshots