Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1266

CBATS : User Permissions Payload simplification

    Details

    • Type: New Feature
    • Status: To Do
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      User Permissions Payload simplification

      DMS to "clean up" the permission payload according to the role: don't include permission keys not related to the current role

      DMS to set default permission values to "false" when no value is defined or not related to current role (I think this won't be needed as per previous bullet point)

      CC – Shamooka Mohapatra

        Attachments

          Activity

          Hide
          rohan.khandave Rohan J Khandave (Inactive) added a comment -

          Below is permission payload.

          "menupermission": { "norights": false, "readonly": true, "create": true, "update": true, "delete": true, "readpiidata": false }

          From above below properties are used for menus.

          1. norights
          2. readonly
          3. create
          4. update
          5. delete

          Below property used for data permission.

          1. readpiidata

          So CBATS (Joris) team wants to simplify this payload. So they can easily understood which one needs to used for menu & data permission.

          Below API used these payload, Please refer swagger for same.

          1. POST : /api/user
          2. PUT : /api/user
          3. POST : /api/userPermissions/ {UserId} (only to update permissions)

          CC – Samir , Harshveer Singh , Swapnil Pandhare

          Show
          rohan.khandave Rohan J Khandave (Inactive) added a comment - Below is permission payload. "menupermission": { "norights": false, "readonly": true, "create": true, "update": true, "delete": true, "readpiidata": false } From above below properties are used for menus. norights readonly create update delete Below property used for data permission. readpiidata So CBATS (Joris) team wants to simplify this payload. So they can easily understood which one needs to used for menu & data permission. Below API used these payload, Please refer swagger for same. POST : /api/user PUT : /api/user POST : /api/userPermissions/ {UserId} (only to update permissions) CC – Samir , Harshveer Singh , Swapnil Pandhare

            People

            Assignee:
            harshveer.singh Harshveer Singh (Inactive)
            Reporter:
            rohan.khandave Rohan J Khandave (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Time Tracking

                Estimated:
                Original Estimate - 32h
                32h
                Remaining:
                Remaining Estimate - 32h
                32h
                Logged:
                Time Spent - Not Specified
                Not Specified