[MGNLREST-782] Revamp REST userroles in 6.3 context Created: 23/Jan/24  Updated: 23/Jan/24

Status: Accepted
Project: Magnolia REST Framework
Component/s: None
Affects Version/s: 3.0.0
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Quach Hao Thien Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: Sane Default Roles & Groups

 Description   

Context:

Since 6.2, 3 userroles were introduced: rest-admin, rest-anonymous, and rest-editor. Those 3 userroles are not compliant with the new usergroups in 6.3: editors, publishers, and developers.

Things to review/revamp:

  1. Naming for user roles to compliant with new default usergroups
    1. rest-admin could be rest-developer
    2. rest-editor is used to access rest delivery endpoints, but there is no Create, Update, and Delete performance in practice. So it can be changed to rest-viewer or another name that is relevant to a role that can only access to retrieve REST outcomes
  2. Assigning
    1. rest-admin (or rest-developer) assigns to the developer group
    2. rest-editor (or rest-viewer) assigns to the editors and publishers group
  3. Deprecated logics of version handler
    1. RestIntegrationModuleVersionHandler.java
    2. RestToolsModuleVersionHandler.java

 


Generated at Mon Feb 12 07:03:07 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.