<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic [Resolved] - Unable to add/remove/change ACL on workspaces, sections and documents in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/resolved-unable-to-add-remove-change-acl-on-workspaces-sections/m-p/326858#M13859</link>
    <description>&lt;P&gt;Hello &lt;A href="https://app.quandora.com/object/dfaf935a-5623-4e9c-9778-7a79c78a8114"&gt;Florent Guillaume&lt;/A&gt; &lt;A href="https://app.quandora.com/object/cc7c28ac-9c92-409c-881e-268643b02968"&gt;Kevin Leturc&lt;/A&gt; ,&lt;/P&gt;
&lt;P&gt;Since my last post &lt;A href="https://answers.nuxeo.com/general/q/ef801f6d5e7342a7ae1aeae27fede905/Permissions-Unable-to-add-remove-ACL"&gt;here&lt;/A&gt; on this subject which never resolved, I come back with another interesting one.&lt;/P&gt;
&lt;P&gt;Since migration on LTS2021, the exception change and now I have this when I try to add/change or remove an ACL .&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2023-02-09T08:43:07,765 WARN  [https-jsse-nio-0.0.0.0-8443-exec-6] [org.nuxeo.ecm.automation.core.trace.Trace] 

****** chain ******
Name: Document.RemovePermission
Exception: OperationException
Caught error: Failed to invoke operation Document.RemovePermission
Caused by: org.nuxeo.ecm.automation.OperationException: Failed to invoke operation Document.RemovePermission
****** Hierarchy calls ******
        org.nuxeo.ecm.automation.core.operations.document.RemovePermission

2023-02-09T08:43:07,766 ERROR [https-jsse-nio-0.0.0.0-8443-exec-6] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] org.nuxeo.ecm.core.api.NuxeoException: Failed to invoke operation: Document.RemovePermission
org.nuxeo.ecm.core.api.NuxeoException: Failed to invoke operation: Document.RemovePermission
        at org.nuxeo.ecm.automation.server.jaxrs.ExecutableResource.doPost(ExecutableResource.java:87) ~[nuxeo-automation-server-2021.19.10.jar:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
....
Caused by: java.lang.IllegalArgumentException: Negative ACL not allowed: ACE(username=members, permission=CanAskForPublishing, isGranted=false, creator=null, begin=null, end=null)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 07:49:05 GMT</pubDate>
    <dc:creator>freemann_</dc:creator>
    <dc:date>2023-02-09T07:49:05Z</dc:date>
    <item>
      <title>[Resolved] - Unable to add/remove/change ACL on workspaces, sections and documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/resolved-unable-to-add-remove-change-acl-on-workspaces-sections/m-p/326858#M13859</link>
      <description>&lt;P&gt;Hello &lt;A href="https://app.quandora.com/object/dfaf935a-5623-4e9c-9778-7a79c78a8114"&gt;Florent Guillaume&lt;/A&gt; &lt;A href="https://app.quandora.com/object/cc7c28ac-9c92-409c-881e-268643b02968"&gt;Kevin Leturc&lt;/A&gt; ,&lt;/P&gt;
&lt;P&gt;Since my last post &lt;A href="https://answers.nuxeo.com/general/q/ef801f6d5e7342a7ae1aeae27fede905/Permissions-Unable-to-add-remove-ACL"&gt;here&lt;/A&gt; on this subject which never resolved, I come back with another interesting one.&lt;/P&gt;
&lt;P&gt;Since migration on LTS2021, the exception change and now I have this when I try to add/change or remove an ACL .&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;2023-02-09T08:43:07,765 WARN  [https-jsse-nio-0.0.0.0-8443-exec-6] [org.nuxeo.ecm.automation.core.trace.Trace] 

****** chain ******
Name: Document.RemovePermission
Exception: OperationException
Caught error: Failed to invoke operation Document.RemovePermission
Caused by: org.nuxeo.ecm.automation.OperationException: Failed to invoke operation Document.RemovePermission
****** Hierarchy calls ******
        org.nuxeo.ecm.automation.core.operations.document.RemovePermission

2023-02-09T08:43:07,766 ERROR [https-jsse-nio-0.0.0.0-8443-exec-6] [org.nuxeo.ecm.webengine.app.WebEngineExceptionMapper] org.nuxeo.ecm.core.api.NuxeoException: Failed to invoke operation: Document.RemovePermission
org.nuxeo.ecm.core.api.NuxeoException: Failed to invoke operation: Document.RemovePermission
        at org.nuxeo.ecm.automation.server.jaxrs.ExecutableResource.doPost(ExecutableResource.java:87) ~[nuxeo-automation-server-2021.19.10.jar:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
        at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
....
Caused by: java.lang.IllegalArgumentException: Negative ACL not allowed: ACE(username=members, permission=CanAskForPublishing, isGranted=false, creator=null, begin=null, end=null)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 07:49:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/resolved-unable-to-add-remove-change-acl-on-workspaces-sections/m-p/326858#M13859</guid>
      <dc:creator>freemann_</dc:creator>
      <dc:date>2023-02-09T07:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: [Resolved] - Unable to add/remove/change ACL on workspaces, sections and documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/resolved-unable-to-add-remove-change-acl-on-workspaces-sections/m-p/326859#M13860</link>
      <description>&lt;P&gt;Your log shows a &lt;CODE&gt;Negative ACL not allowed&lt;/CODE&gt;.
Checking the source code this is due to a configuration that does not allow non-granting ACEs by default.&lt;/P&gt;
&lt;P&gt;See &lt;A href="https://doc.nuxeo.com/nxdoc/configuration-parameters-index-nuxeoconf/#nuxeosecurityallownegativeacl" target="test_blank"&gt;https://doc.nuxeo.com/nxdoc/configuration-parameters-index-nuxeoconf/#nuxeosecurityallownegativeacl&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 08:17:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/resolved-unable-to-add-remove-change-acl-on-workspaces-sections/m-p/326859#M13860</guid>
      <dc:creator>Konrad_Krenzlin</dc:creator>
      <dc:date>2023-02-09T08:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: [Resolved] - Unable to add/remove/change ACL on workspaces, sections and documents</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/resolved-unable-to-add-remove-change-acl-on-workspaces-sections/m-p/326860#M13861</link>
      <description>&lt;P&gt;[Konrad Krenzlin](https&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 10:17:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/resolved-unable-to-add-remove-change-acl-on-workspaces-sections/m-p/326860#M13861</guid>
      <dc:creator>freemann_</dc:creator>
      <dc:date>2023-02-09T10:17:29Z</dc:date>
    </item>
  </channel>
</rss>

