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

Worksite Setup > "Hard Delete" button not displaying in top section when present in bottom section for non-admin users

    XMLWordPrintable

    Details

    • 19 status:
      Verified
    • Test Plan:
      Hide
      • Pick a user who has more than 10 sites as a maintainer/instructor (but not the admin user)
      • Give this user the site.del and site.del.softly.deleted permissions (you can do this as the Admin user, granting these permissions in the !user.template.registered auth's realm)
        • Be sure to remove these permissions from the realm template if they weren't already there prior to this test
      • As the user you picked earlier, go to Home -> Worksite Setup
      • Verify that there are sections on the top and bottom of the form to perform actions (drop downs, buttons, etc.)
      • Verify the 'Hard Delete' button is displayed in both the top and bottom sections
      Show
      Pick a user who has more than 10 sites as a maintainer/instructor (but not the admin user) Give this user the site.del and site.del.softly.deleted permissions (you can do this as the Admin user, granting these permissions in the !user.template.registered auth's realm) Be sure to remove these permissions from the realm template if they weren't already there prior to this test As the user you picked earlier, go to Home -> Worksite Setup Verify that there are sections on the top and bottom of the form to perform actions (drop downs, buttons, etc.) Verify the 'Hard Delete' button is displayed in both the top and bottom sections

      Description

      The logic to display the 'Hard Delete' button isn't synchronized properly between the top and bottom action panels. The bottom panel is displaying the 'Hard Delete' button appropriately when the user has the correct permissions. However, the top section does not display this button when it should (for non-admin users).

      Original ticket description:

      Trying to verify SAK-41347 on 19.1 and 19.1 has an extra set of "View: All My Sites" fields and a "Hard Delete Selected" button.

      After this JIRA is fixed, need to test SAK-41347 on 19.1

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bjones86 Brian Jones
                  Reporter:
                  agschmidt Andrea Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code