Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-782

Revamp REST userroles in 6.3 context

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 3.0.0
    • None
    • None

      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

       

        Acceptance criteria

              Unassigned Unassigned
              thien.quach Quach Hao Thien
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Task DoR