<?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 Re: Aspect &amp; properties permissions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/aspect-properties-permissions/m-p/171329#M124594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I've read that permissions cannot be set at a properties level.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is correct: such a possibility is not currently exposed in the Alfresco data model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it possible to group the properties that can be read only by Group B on a aspect, and give the read/write permissions for this aspect only to the members of Group B? By doing so, members of Group A would never been allowed neither to read nor to write these "special" properties.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't believe that it is straightforward to do this unless your requirements are rather simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;… &lt;/SPAN&gt;&lt;STRONG&gt;edited&lt;/STRONG&gt;&lt;SPAN&gt;: see post below for further discussion&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If this is possible, can anyone indicate me a way to achieve this?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;A better approach, I think, would be to separate the properties concerned into another node which can then be &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;related to the main node either as a child (so the main node becomes a compound structure) , or by using&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;associations.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 May 2008 00:08:50 GMT</pubDate>
    <dc:creator>sacco</dc:creator>
    <dc:date>2008-05-21T00:08:50Z</dc:date>
    <item>
      <title>Aspect &amp; properties permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/aspect-properties-permissions/m-p/171328#M124593</link>
      <description>Hello,I've read that permissions cannot be set at a properties level. I have a requirement where only a subset of any document's properties can be read by the members of Group A, while members of Group B have access to all the properties of the same document.Is it possible to group the properties th</description>
      <pubDate>Tue, 20 May 2008 09:16:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/aspect-properties-permissions/m-p/171328#M124593</guid>
      <dc:creator>fguillaume</dc:creator>
      <dc:date>2008-05-20T09:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Aspect &amp; properties permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/aspect-properties-permissions/m-p/171329#M124594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I've read that permissions cannot be set at a properties level.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is correct: such a possibility is not currently exposed in the Alfresco data model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it possible to group the properties that can be read only by Group B on a aspect, and give the read/write permissions for this aspect only to the members of Group B? By doing so, members of Group A would never been allowed neither to read nor to write these "special" properties.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't believe that it is straightforward to do this unless your requirements are rather simple&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;… &lt;/SPAN&gt;&lt;STRONG&gt;edited&lt;/STRONG&gt;&lt;SPAN&gt;: see post below for further discussion&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If this is possible, can anyone indicate me a way to achieve this?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;A better approach, I think, would be to separate the properties concerned into another node which can then be &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;related to the main node either as a child (so the main node becomes a compound structure) , or by using&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;associations.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 00:08:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/aspect-properties-permissions/m-p/171329#M124594</guid>
      <dc:creator>sacco</dc:creator>
      <dc:date>2008-05-21T00:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Aspect &amp; properties permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/aspect-properties-permissions/m-p/171330#M124595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, what would this new node be? A type or an aspect that would contain only the properties that can be shown to Group B? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Guillaume&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 06:54:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/aspect-properties-permissions/m-p/171330#M124595</guid>
      <dc:creator>fguillaume</dc:creator>
      <dc:date>2008-05-21T06:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Aspect &amp; properties permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/aspect-properties-permissions/m-p/171331#M124596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, you would need to define a type for the new node to contain the properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;intended to be accessible only by Group B.&amp;nbsp; These nodes can now have their&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;access permissions managed independently of the main node: you will probably&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;want to automate some of this using JavaScript (I think you ought to be able&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to do most of what you need by working at this level, rather than delving into&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the Java source).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;To be strictly accurate&lt;/STRONG&gt;&lt;SPAN&gt;, I've been slightly misleading here: it &lt;/SPAN&gt;&lt;EM&gt;is&lt;/EM&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;actually possible to achieve what you want as you described by defining a new &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;aspect and controlling access to it, e.g:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Security_and_Authentication#How_to_add_your_own_type_or_aspect.2C_assign_permissions_for_it.2C_configure_it_and_secure_a_service_that_uses_it_...." rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Security_and_Authentication#How_to_add_your_own_type_or_aspect.2C_assign_permissions_for_it.2C_configure_it_and_secure_a_service_that_uses_it_....&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, this is a lot more complicated, and may require you to provide&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;low-level infrastructure to support it (depending upon exactly what you're &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;trying to achieve).&amp;nbsp; If, as I assume from your question,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you're aiming to leverage the built-in Alfresco security model and work&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mainly at the level of &lt;/SPAN&gt;&lt;EM&gt;configuration&lt;/EM&gt;&lt;SPAN&gt; then the approach using a separate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;auxiliary node is probably more suitable.&amp;nbsp; If, on the other hand, the precise&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;working of this feature is central to your application, and you're happy to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;wade into the Java source code without a huge amount of detailed documentation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then you might try to define a secure aspect as you originally suggested.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To sum up, using an aspect may be the "correct" way to solve certain problems&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and may slightly simplify other aspects of you application.&amp;nbsp; However, I have &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sometimes found it difficult to achieve precisely what I required in this way, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;even when I've been fairly sure it was possible.&amp;nbsp; The documentation is sparse,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and the fact that the functionality is effectively hidden (so far) means that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it could be subject to change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The approach with a separate note is clumsier and may require some extra&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;plumbing (although this can be done at a higher level), but it is easier to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;see exactly what is going on, and it can be realised mainly using already &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;familiar functionality.&amp;nbsp; You need to decide what will work best for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A final issue to consider is the intended lifetime of your application and the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;resources available to support and maintain it: by working at a higher level,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the approach using a separate node would be more likely to survive upgrades&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to the Alfresco system than custom code (at least until more of this functionality&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is exposed at a higher level).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope all this waffle helps rather than simply adding confusion &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2008 13:12:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/aspect-properties-permissions/m-p/171331#M124596</guid>
      <dc:creator>sacco</dc:creator>
      <dc:date>2008-05-21T13:12:50Z</dc:date>
    </item>
  </channel>
</rss>

