Proposal for Simpler Rights Management
Description
Context
This proposal is a stepping stone for the full rights work that's being managed by the Required Rights. The objective is to improve the usability of the regular rights screen.
Currently, all users and groups and rights are shown, making rights difficult to manage in a complex scenario. The main idea for improvement is to make the user first selects the user/group that will receive rights and then assign those rights.
Proposal
The proposal is to change the default Rights screen into a new one featuring:
- A "Add Right" button
- A unified group/user LiveData table with the current applied rights for each. The use of LiveData here ensures mobile devices compatibility.
- The checkboxes in the table are not meant to be interactive, they serve only as a read-only indication. This is to prevent errors, making sure users don't change the Rights with mis-clicks or just by touching the table.

Pressing the "Add Right" button or by interaction with one of the rows brings the "Rights Maintenance" dialog.
Here the user can check and change the rights as required.
Important: For editing existing rows, the "Type" and "Name" should be read-only to prevent conflicts with other rows.

Details of the individual Rights sections. The empty space is selectable and should be used to "unset" any right.

Custom Rights should also appear on this page below the standard rights of XWiki.

Thiago Krieck