Adaxa's User Favorite which allow user to organize their menu, create folders
Description
Adaxa has created user favorite which allow to group menus using drag and drop features per user. I think this is good feature to add in iDempiere.
Environment
Activity
PR created
As working on this ticket, opening it
/ I follow instruction from Carlos and tried to create fresh PR. Before committing, I was testing and found issue due to cross tenant implementation. Now implementing following requirement is challenging
3. Use login user’s AD_Client_ID to load or create tree for user. For example if SuperUser then his tree is always created in system tenant as SuperUser is created in system tenant.
So if I am in Garden world tenant and when login as SuperUser or any service user, when I try to write to system tenant, it fails.
PR created
As per discussion in chat, decided to
We drop AD_Role from User favorite tree able and create one tree per user
Tree is rendered as per role permissions
Use login user’s AD_Client_ID to load or create tree for user. For example if SuperUser then his tree is always created in system tenant as SuperUser is created in system tenant.
If Folder is empty, don’t show it. if user try to create Folder with same name under same parents, then instead of creating new one, show existing one.