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:
Prevent granting permissions to Client roles if the assistant is marked as "System App".
Make these changes in the demo branch, which is the branch used in the Demo environment.
For Dev Assistant changes:
Ensure the Dev Assistant Supervisor is marked as "System App" in the system. Use the standard flow for hotfixes
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.
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:
Prevent granting permissions to Client roles if the assistant is marked as "System App".
Make these changes in the demo branch, which is the branch used in the Demo environment.
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.