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

When a document A has an association with a document B editing A fails if user has not the permission to edit B even if he has the permission to edit A

    Details

    • Type: Service Pack Request
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.2.8
    • Component/s: Installer
    • Labels:
      None
    • Environment:
      Generic
    • Bug Priority:
      Category 2
    • ACT Numbers:

      11993

      Description

      This problem is linked to https://issues.alfresco.com/jira/browse/ETWOONE-322 however the situation is slightly different where WS api is being used.

      Steps for replication
      1. Install 2.2 SP2 environment
      2. Place the customer's custom model in place (attached extension.zip)
      3. Import customer's full export via bootstrap import process (attached data.zip)
      See http://wiki.alfresco.com/wiki/Export_and_Import#Bootstrap _destination_Repository_from_ACP_files
      4. Start Alfresco and check data test data is found under /Company Home/Documents
      5. Use the customer's test WS client to access the associated document.

      Seeing the following exception:

      org.alfresco.repo.security.permissions. AccessDeniedException: Access Denied. You do not have the appropriate permissions to perform this operation.
      at org.alfresco.repo.security.permissions.impl. ExceptionTranslatorMethodInterceptor.invoke (ExceptionTranslatorMethodInterceptor.java:53)
      at org.springframework.aop.framework. ReflectiveMethodInvocation.proceed (ReflectiveMethodInvocation.java:176)
      ...
      Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.
      at net.sf.acegisecurity.vote.AffirmativeBased.decide (AffirmativeBased.java:86)

        Attachments

        1. client.zip
          7 kB
        2. data.zip
          2.80 MB
        3. extension.zip
          1 kB
        4. webclient_view.jpg
          webclient_view.jpg
          142 kB

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs
                  Reporter:
                  astrachan Alex Strachan
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Structure Helper Panel