Proposal for Simpler Rights Management

Version 5.2 by Thiago Krieck on 2025/07/01 15:10

Description

WIP

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 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

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.

Rights Maintenance (1).png

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

right details.png

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

custom rights (1).png


 


Get Connected