You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, roles are managed from two separate places in the same manner. Both service files and extension files define roles:
Extension files can have only one role.
Service files can have a list of roles.
The permission checks occur in two separate places—one for services and one for extensions. However, in most cases, the roles in both locations are the same.
Current Role Handling:
1. Through Extensions
The ExtensionService (located in components/core/core-extensions) verifies if a user has the appropriate role to access an extension.
2. Through Service JS Files
The following service files in resources/resources-core/services check if a user has any of the roles listed:
views.js
perspectives.js
menu.js
dialog-window.js
Next Steps
A discussion is needed to decide which method should be removed or reworked to clarify role handling in Dirigible.
The text was updated successfully, but these errors were encountered:
Currently, roles are managed from two separate places in the same manner. Both service files and extension files define roles:
The permission checks occur in two separate places—one for services and one for extensions. However, in most cases, the roles in both locations are the same.
Current Role Handling:
1. Through Extensions
The
ExtensionService
(located incomponents/core/core-extensions
) verifies if a user has the appropriate role to access an extension.2. Through Service JS Files
The following service files in
resources/resources-core/services
check if a user has any of the roles listed:views.js
perspectives.js
menu.js
dialog-window.js
Next Steps
A discussion is needed to decide which method should be removed or reworked to clarify role handling in Dirigible.
The text was updated successfully, but these errors were encountered: