Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-6362

!user.template and !site.helper permissions are displayed but not applied in the Forms tool

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1
    • Fix Version/s: None
    • Labels:
      None

      Description

      In the Forms tool, permissions inherited from the !user.template and/or !site.helper realms are being displayed in the permissions editor but not applied.

      To duplicate, given a fresh Sakai installation:

      • login as admin
      • create a new user "user3"
      • create a new project site "site3"
      • add the forms tool
      • add user3 to site3 in the maintain role
      • login as user3
      • open site3
      • open forms tool
      • verify "add" and "import" options
      • open permissions editor
      • verify permissions: maintain role has "create" permission
      • login as admin
      • open realms tool
      • open site3 realm
      • verify metaobj.create permission for "maintain" role in site3 realm
      • uncheck metaobj.create permission for "maintain" role in site3 realm
      • save realm permissions
      • open !user.template realm
      • add "maintain" role
      • check "metaobj.create" permission for "maintain" role
      • save realm permissions
      • login as user3
      • open site3
      • open forms tool
      • verify "add" and "import" are no longer options
      • open permissions editor
      • verify "create" permission for "maintain" role has checkmark image, not checkbox
      • login as admin
      • open realms tool
      • open !user.template realm
      • uncheck metaobj.create permission for "maintain" role
      • save realm permissions
      • open !site.helper realm
      • check "metaobj.create" permission for "maintain" role
      • save realm permissions
      • login as user3
      • open site3
      • open forms tool
      • verify "add" and "import" are no longer options
      • open permissions editor
      • verify "create" permission for "maintain" role has checkmark image, not checkbox

      Note this bug is similar to SAK-6359, but this applies to both the !user.template and the !site.helper realms. Note also that this bug is exacerbated by the behavior described in SAK-6361, in which site permissions can be stripped (and not restored by non-admin users) when an inherited permission exists.

      A workaround solution for this is to have an administrator add the required permissions directly to the site realm in the Realms tool.

      Finally, note that I'm not sure what the intended behavior of the intersection of these realms and the local site permissions are, but the bug is that the permissions display does not match the actual behavior.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  osp-jira OSP Jira Team (Inactive)
                  Reporter:
                  daveadams David Adams
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration