Uploaded image for project: 'ui-users'
  1. ui-users
  2. UIU-1154

Show automatically assigned subPermissions

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Won't Do
    • None
    • None

    Description

      Open the edit user screen for a user and assign only this single permission: "Agreements: Can create and edit agreements" (= "ui-agreements.agreements.create"); remove all other permissions.

      Actual result: The user permissions section of the user edit screen (and also of the user view screen) shows only that single permission.

      Expected result: Both screens should also show which subPermissions have automatically been assigned.

      See https://github.com/folio-org/ui-agreements/blob/v3.0.0/package.json#L99-L125 for the subPermissions:

      "ui-agreements.agreements.edit" (= Agreements: Can edit agreements)
      "ui-agreements.agreements.view" (= Agreements: Can view agreements)
      "module.agreements.enabled" (= Agreements App user)
      "ui-organizations.view" (= Organizations: View organizations)

      There should be an indication that it is not an explicitly assigned permission but an automatically assigned subPermission.
      There should be a way to find out for each automatically assigned subPermission which non-automatically assigned permission(s) caused the assignment of the subPermission.

      TestRail: Results

        Attachments

          Activity

            People

              Unassigned Unassigned
              julianladisch Julian Ladisch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases