Proposal for Simpler Rights Management

Last modified by Lucas Charpentier on 2025/11/26 15:19

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.

Screenshot 2025-07-01 at 10.44.58.png

Proposal

The proposal is to change the default Rights screen into a new one featuring:

  • A "Assign Rights" 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.

Rights List.png

Scrolling Behavior

When the table is overflown with lots of rights assigned, the first two columns should be fixed in the scrolling if possible.

All columns visible

Rights List 2.png

Columns overflown

scrolling behavior.png

Managing Rights

Pressing the "Assign Rights" button or by interaction with one of the rows brings the "Manage Right" dialog.

Here the user can check and change the rights as required. It's also in this dialog that removing rights is done

Important: For editing existing rows, the "Type" and "Name" should be read-only to prevent conflicts with other rows.

Rights Maintenance.png

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

right details.png

New Rights brought it by extensions should also appear on this page below the standard rights of XWiki.

custom rights (1).png


 


Get Connected