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
Description:
In Dolibarr, assigning users to appropriate market groups (e.g., Domestic Market or International Market) based on the selected Market Type is a crucial feature for businesses operating in multiple regions. Currently, this process requires manual intervention, which increases the risk of human error and inefficiency.
Problem Statement:
When creating or modifying a user in Dolibarr, there is no built-in functionality to automatically assign them to a corresponding user group based on their selected market type. This results in:
Extra manual work for administrators.
Potential misclassification of users.
Inconsistency in role-based permissions within different market categories.
Proposed Solution:
To enhance efficiency and reduce administrative overhead, we propose implementing an automated user group assignment mechanism. When a user selects a Market Type (e.g., Domestic Market or International Market), they should be automatically assigned to the relevant group in Dolibarr.
A SQL trigger could be implemented to automatically update the llx_usergroup_user table when a user’s market type is updated.
2️⃣ Dolibarr Hooks (Native Integration Approach)
A new hook (e.g., formObjectOptions) could be added to listen for market type changes and dynamically assign users to the appropriate group.
3️⃣ AJAX-Based Automation (Frontend Approach)
Using JavaScript and AJAX, the system could instantly assign the user to a group upon selection without requiring a page refresh.
Business Impact:
✔ Time-saving: Eliminates repetitive manual work for administrators.
✔ Data Consistency: Ensures users are always correctly classified.
✔ Improved Permission Control: Automatically applies correct access rights based on market segmentation.
✔ Scalability: Supports businesses operating across multiple markets.
Request:
We request that the Dolibarr development team consider implementing this feature as a core functionality in future releases. This automation would greatly benefit companies that manage different market structures and streamline user management within Dolibarr.
Looking forward to your feedback and consideration! 🚀
Use case
No response
Suggested implementation
No response
Suggested steps
No response
The text was updated successfully, but these errors were encountered:
Feature Request
Description:
In Dolibarr, assigning users to appropriate market groups (e.g., Domestic Market or International Market) based on the selected Market Type is a crucial feature for businesses operating in multiple regions. Currently, this process requires manual intervention, which increases the risk of human error and inefficiency.
Problem Statement:
When creating or modifying a user in Dolibarr, there is no built-in functionality to automatically assign them to a corresponding user group based on their selected market type. This results in:
Extra manual work for administrators.
Potential misclassification of users.
Inconsistency in role-based permissions within different market categories.
Proposed Solution:
To enhance efficiency and reduce administrative overhead, we propose implementing an automated user group assignment mechanism. When a user selects a Market Type (e.g., Domestic Market or International Market), they should be automatically assigned to the relevant group in Dolibarr.
Implementation Options:
1️⃣ Database Trigger (Backend Approach)
A SQL trigger could be implemented to automatically update the llx_usergroup_user table when a user’s market type is updated.
2️⃣ Dolibarr Hooks (Native Integration Approach)
A new hook (e.g., formObjectOptions) could be added to listen for market type changes and dynamically assign users to the appropriate group.
3️⃣ AJAX-Based Automation (Frontend Approach)
Using JavaScript and AJAX, the system could instantly assign the user to a group upon selection without requiring a page refresh.
Business Impact:
✔ Time-saving: Eliminates repetitive manual work for administrators.
✔ Data Consistency: Ensures users are always correctly classified.
✔ Improved Permission Control: Automatically applies correct access rights based on market segmentation.
✔ Scalability: Supports businesses operating across multiple markets.
Request:
We request that the Dolibarr development team consider implementing this feature as a core functionality in future releases. This automation would greatly benefit companies that manage different market structures and streamline user management within Dolibarr.
Looking forward to your feedback and consideration! 🚀
Use case
No response
Suggested implementation
No response
Suggested steps
No response
The text was updated successfully, but these errors were encountered: