etendosoftware / com.etendoerp.copilot.extensions

0 stars 0 forks source link

ETP-462: Exclude Client Roles from Permissions for System App Assistants and Mark Dev Assistant Supervisor #17

Closed valenvivaldi closed 1 week ago

valenvivaldi commented 2 weeks ago

Issue Description

The automatic permission creation process in the Demo system for Copilot currently assigns permissions to all roles, including Client roles, for assistants marked as "System App". Additionally, the Dev Assistant supervisor needs to be marked as a "System App".

Solution Design

In the module com.etendoerp.copilot.autosync, modify the automated process to:

For Dev Assistant changes:

Use Cases

Given: An operational automated permission system in the Demo branch for Copilot.

When: An assistant is marked as a "System App" with associated Client roles.

Then: Those Client roles do not receive permissions. Additionally, the Dev Assistant supervisor appears marked as a "System App" in the system.

valeg-etendo commented 1 week ago

[!IMPORTANT] Bug resolved in version 1.6.1 ⚡ 🚀