Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10012

Unauthorized user while calling directories Operations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.6.0-HF01, 5.7.1
    • Component/s: Automation

      Description

      When trying to call a directory Operation from Automation client or REST an exception occured:

      Caused by: org.nuxeo.ecm.core.api.ClientException: Unauthorized user
      at org.nuxeo.ecm.automation.core.operations.services.directory.AbstractDirectoryOperation.validateCanManageDirectories(AbstractDirectoryOperation.java:42)
      at org.nuxeo.ecm.automation.core.operations.services.directory.CreateDirectoryEntries.run(CreateDirectoryEntries.java:69)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:616)
      at org.nuxeo.ecm.automation.core.impl.InvokableMethod.doInvoke(InvokableMethod.java:117)
      at org.nuxeo.ecm.automation.core.impl.InvokableMethod.invoke(InvokableMethod.java:132)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              akervern Arnaud Kervern
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: