<?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 ACLs on a content type and metadata basis in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/acls-on-a-content-type-and-metadata-basis/m-p/125157#M34170</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We can have ACLs on the basis of folders in Alfresco but we need to have ACLS(allow and deny content access) requirement.&lt;/P&gt;&lt;P&gt;For a user OR group -&amp;nbsp;&lt;/P&gt;&lt;P&gt;a) How can we restrict allow or deny access to a content type or folder type(defined in content model) for eg claim is a document type in content model, expense report is a content type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) How we can allow or deny content access on the basis of metadata properties . For eg . If metadata says sensitive=true , then deny access to all and allow access to only admin. If sensitive value is made false then , the content can be accessible by a service user / group.&lt;/P&gt;&lt;P&gt;Note: We can set permissions on a content/folder type but the minimum pemissions is consumer and the content can be read/accessible.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Dec 2020 04:51:22 GMT</pubDate>
    <dc:creator>ranjeetsi</dc:creator>
    <dc:date>2020-12-18T04:51:22Z</dc:date>
    <item>
      <title>ACLs on a content type and metadata basis</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/acls-on-a-content-type-and-metadata-basis/m-p/125157#M34170</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We can have ACLs on the basis of folders in Alfresco but we need to have ACLS(allow and deny content access) requirement.&lt;/P&gt;&lt;P&gt;For a user OR group -&amp;nbsp;&lt;/P&gt;&lt;P&gt;a) How can we restrict allow or deny access to a content type or folder type(defined in content model) for eg claim is a document type in content model, expense report is a content type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) How we can allow or deny content access on the basis of metadata properties . For eg . If metadata says sensitive=true , then deny access to all and allow access to only admin. If sensitive value is made false then , the content can be accessible by a service user / group.&lt;/P&gt;&lt;P&gt;Note: We can set permissions on a content/folder type but the minimum pemissions is consumer and the content can be read/accessible.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 04:51:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/acls-on-a-content-type-and-metadata-basis/m-p/125157#M34170</guid>
      <dc:creator>ranjeetsi</dc:creator>
      <dc:date>2020-12-18T04:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs on a content type and metadata basis</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/acls-on-a-content-type-and-metadata-basis/m-p/125158#M34171</link>
      <description>&lt;P&gt;Alfresco does not support such kind of ACL management out-of-the-box with any of their high-level services. There aren't even any (simple) alternative approaches that I could readily recommend, due to being untested/unverified and having potentially significant side effects on other parts of the application. Technically, something like this "should" be possible if one were to hijack the low-level handling of ACL inheritance via behaviours / service extensions, but for reasons stated I won't go into any details about this idea of mine...&lt;/P&gt;
&lt;P&gt;A rather simple / limited solution I implemented for a customer of mine once handled a somewhat similar requirement by adding a service extension for the permission service, which post-processed metadata check for the custom sensible state after the basic read permission was already checked, and another service extension to the search service which transparently rewrote FTS / CMIS queries to include filter queries for the relevant metadata, so that the query already selected only the accessible nodes and there was no need for any further post-processing.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 17:35:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/acls-on-a-content-type-and-metadata-basis/m-p/125158#M34171</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2020-12-22T17:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs on a content type and metadata basis</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/acls-on-a-content-type-and-metadata-basis/m-p/125159#M34172</link>
      <description>&lt;P&gt;Thanks Alex for suggestion:&lt;/P&gt;&lt;P&gt;I had found some links so thought to get suggestion:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/5.2/concepts/secur-permissions.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/5.2/concepts/secur-permissions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/6.1/references/dev-extension-points-permissions.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.1/references/dev-extension-points-permissions.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 17:46:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/acls-on-a-content-type-and-metadata-basis/m-p/125159#M34172</guid>
      <dc:creator>ranjeetsi</dc:creator>
      <dc:date>2020-12-22T17:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: ACLs on a content type and metadata basis</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/acls-on-a-content-type-and-metadata-basis/m-p/125160#M34173</link>
      <description>&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;Thanks for your response!.&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;For the extension in Permission service , the extension has to check the user/group against which it has to filter or provide access , so user/group has to be validated ?!&lt;/P&gt;&lt;P&gt;In that case - this has to be hardcoded in code for checking the a user/group access?&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;A finance user needs to have access to invoice only ? So where we can do the mapping so that it can be used in code?&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Ranjeet&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 20:20:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/acls-on-a-content-type-and-metadata-basis/m-p/125160#M34173</guid>
      <dc:creator>ranjeetsi</dc:creator>
      <dc:date>2020-12-22T20:20:41Z</dc:date>
    </item>
  </channel>
</rss>

