Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-17609

non-admin users cannot configure their personal dashboards in 5.1.2

    Details

      Description

      DESCRIPTION

      When a non-admin user tries to configure their dashboard, they can get the following error

      ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-bio-8080-exec-25] Exception from executeScript: 02090044 Access Denied.  You do not have the appropriate permissions to perform this operation.
      org.alfresco.repo.security.permissions.AccessDeniedException: 02090044 Access Denied.  You do not have the appropriate permissions to perform this operation.
      

      The full stack is attached 'full-stack.log'

      REPRODUCTION

      1. Create a new Alfresco user (non-admin)
      2. Log into Share with the new user
      3. Click the Hide button of the GET STARTED panel
      4. Click OK in the confirmation dialog

      EXPECTED
      The page should refresh with the panel having been removed

      OBSERVED
      The page refreshes and the panel is still visible. The above error should be seen in the alfresco log

      ANALYSIS
      This happens in 5.1.2 but not 5.1.1. One difference is that the node at path /app:company_home/st:sites/cm:surf-config/cm:components has the aspect cm:ownable in 5.1.2 but not in 5.1.1, so dashlet configuration files in the folder cm:components inherit the owner admin causing the access denied error for non-admin group users

      Repeating the steps for the default admin user or adding the new user to the ALFRESCO_ADMINISTRATORS group stops the exception

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs
                  Reporter:
                  mtunmer Mark Tunmer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel