[backend] Add a tab "Users and roles" in organisms
- new tab in the organism view in backend
- add a view with read-only table for all roles in a organism.
Currently, administrators can only see roles from a users perpective. It would be convenient to have the "organism's perpective" as well.
The idea is to add a new "tab" named "Users and roles" in the organisme view in backend to give a transversal view of which users have roles in a specific organism.
This would be a "read-only" screen since roles are defined in the users screen. Thus, to facilitate the roles' edition, all users listed in the view could be linked to the "com_easysdi_contact&view=user&layout=edit" to ease their edition if necessary.
I suggest the following view structure :
|Resources manager||Metadata manager||Metadata editor||Diffusion manager||etc...|
|Organism A||User 1||X||-||-||-||-|
|Organism A||User 2||X||-||-||-||-|
|Organism A||User 3||-||X||-||X||-|
|Organism B||User 45||-||X||X||X||-|
|Organism B||User 47||-||X||X||X||-|
|Organism C||User 23||-||X||X||X||-|
|Organism D||User 12||-||X||X||X||-|
remark : all users of the organism (member of the current organism) should be listed, also ones with no current roles in the organism.
could be done with datatable
- order on organism
- order on roles
- order on users' name
- make a typo difference between internal users (member of the current organism) and external users