Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects versions: 2018.06.0.1
    • Fix versions: 2018.06.0.2
    • Components: mir-module
    • Labels:
      None
    • Sprint:

      Description

      DEBUG submitter MCRConfiguration2: Loading Class: org.mycore.mir.authorization.MIRStrategy
      DEBUG submitter MIRStrategy: checkPermission(mir_derivate_00000001, writedb)
      DEBUG submitter MIRStrategy: checkDerivatePermission(mir_derivate_00000001, writedb)
      DEBUG submitter MCRObjectBaseStrategy: check permission writedb for MCRBaseID mir_derivate_00000001
      DEBUG submitter MCRObjectIDStrategy: using system default access rule.
      DEBUG submitter MCRAccessBaseImpl: Execute MCRAccessBaseImpl checkPermission for ID default for permission writedb
      DEBUG submitter MCRAccessControlSystem: accessStore.getRuleID()
      DEBUG submitter MCRAccessControlSystem: accessStore.getRuleID() done with SYSTEMRULE0000000001
      DEBUG submitter MCRAccessBaseImpl: Current user does not have permission.
      DEBUG submitter MCRAccessBaseImpl: Check writedb on default took:2
      DEBUG submitter MCRAccessManager: checkPermission id:mir_derivate_00000001 permission:writedb --> false
      ERROR submitter MCRUploadResource: Could not set main file!
      MyCoRe Exception: org.mycore.access.MCRAccessException
      
      Message:
      You do not have the permission 'writedb' on 'mir_derivate_00000001' to perfom: Update derivate
      
      Stack trace:
      org.mycore.access.MCRAccessException: You do not have the permission 'writedb' on 'mir_derivate_00000001' to perfom: Update derivate
              at org.mycore.access.MCRAccessException.missingPermission(MCRAccessException.java:42)
              at org.mycore.datamodel.metadata.MCRMetadataManager.update(MCRMetadataManager.java:752)
              at org.mycore.webtools.upload.MCRUploadResource.lambda$setDefaultMainFile$2(MCRUploadResource.java:124)
              at java.util.Optional.ifPresent(Optional.java:159)
              at org.mycore.webtools.upload.MCRUploadResource.setDefaultMainFile(MCRUploadResource.java:121)
              at org.mycore.webtools.upload.MCRUploadResource.commit(MCRUploadResource.java:177)
      

        Attachments

          Activity

            People

            • Assignee:
              yagee Thomas Scheffler
              Reporter:
              yagee Thomas Scheffler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: