<?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: Different access checks in WebDAV versus in CIFS and Share UI in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58755#M20876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may not get a specific detail, but this behaviour has always been that way even in CIFS and Share. Access by ID and exact path was/is allowed by READ, but navigating TO it will fail if at any point in the path READ is not granted. The problem may be that a WebDAV (or other protocol) clients may perform an iterative lookup like a navigation even if an exact path is provided, so the client fails when it tries to access the first inaccessible intermediary path element.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Feb 2018 13:28:09 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2018-02-02T13:28:09Z</dc:date>
    <item>
      <title>Different access checks in WebDAV versus in CIFS and Share UI</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58753#M20874</link>
      <description>Hi,while playing with WebDAV (the near future replacement of CIFS according to https://community.alfresco.com/community/ecm/blog/2017/11/03/moving-from-smb-to-webdav?), I noticed that when trying to access a node (file, folder) via WebDAV, I can get to it even though I don't have have access (permis</description>
      <pubDate>Thu, 01 Feb 2018 10:05:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58753#M20874</guid>
      <dc:creator>p_bodnar</dc:creator>
      <dc:date>2018-02-01T10:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Different access checks in WebDAV versus in CIFS and Share UI</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58754#M20875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great question. The underlying Alfresco Repository (ACS) permissions have always allowed user's with read permission on a node to be able to lookup &amp;amp; access it directly by node id, irrespective of whether a user has read permission on each node in the primary path (ie. primary parent/child associations).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of lookup / access by node path (whether via name path or qname path), &lt;SPAN&gt;I believe this&amp;nbsp;would be expected behaviour, although I haven't had a chance to double-check (each of the common path-based&amp;nbsp;access options, such as via WebDAV, FTP, CMIS &amp;amp; even the public REST API for 5.2+). It would require the&amp;nbsp;user&amp;nbsp;to have&amp;nbsp;prior knowledge of the node path.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence, as you day,&amp;nbsp;using path-based protocol, such as WebDAV, they may be able to&amp;nbsp;go directly&amp;nbsp;to that node - given the url. However, they should not be able to navigate "up the path". Note: if this were forbidden then it would only be possible to navigate to the file by node id&amp;nbsp;(hence not via WebDAV url).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to clarify that this will remain part of the public contract (for WebDAV &amp;amp;/other path-based access) then please contact customer support (if you have an Enterprise subscription) or else raise an ALF JIRA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime, I'll see if I can find some time to scan the code base (&amp;amp; also check forums / JIRA to see if this question has been previously asked).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 09:17:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58754#M20875</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2018-02-02T09:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Different access checks in WebDAV versus in CIFS and Share UI</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58755#M20876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may not get a specific detail, but this behaviour has always been that way even in CIFS and Share. Access by ID and exact path was/is allowed by READ, but navigating TO it will fail if at any point in the path READ is not granted. The problem may be that a WebDAV (or other protocol) clients may perform an iterative lookup like a navigation even if an exact path is provided, so the client fails when it tries to access the first inaccessible intermediary path element.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 13:28:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58755#M20876</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-02-02T13:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: Different access checks in WebDAV versus in CIFS and Share UI</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58756#M20877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Axel Faust&lt;/B&gt;‌ Agreed. In CIFS &amp;amp; Share UI DocLib, it is not possible to navigate down the path (ie. folders for which you do not have permission will not be visible).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Petr Bodnár&lt;/B&gt;‌ Can you please clarify with&amp;nbsp;an&amp;nbsp;example of how you used WebDAV to access the final node (folder or file). Did you use Browser or a client such as CyberDuck or some other mechanism ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps. also found this&amp;nbsp;&lt;A class="link-titled" href="https://issues.alfresco.com/jira/browse/MNT-7483" title="https://issues.alfresco.com/jira/browse/MNT-7483" rel="nofollow noopener noreferrer"&gt;[MNT-7483] Inconsistent access criteria for CIFS vs. WebDav w.r.t. ancestor access permissions - Alfresco JIRA&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 14:27:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58756#M20877</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2018-02-02T14:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Different access checks in WebDAV versus in CIFS and Share UI</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58757#M20878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, on a related note, if you use the new public REST API (5.2+) to list children:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://api-explorer.alfresco.com/api-explorer/#!/nodes/listNodeChildren" title="https://api-explorer.alfresco.com/api-explorer/#!/nodes/listNodeChildren" rel="nofollow noopener noreferrer"&gt;Alfresco Content Services REST API Explorer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with query param "include=path", you will note that primary parent path is returned. However, if a parent is not accessible then it will be incomplete (with flag isComplete=false):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Alfresco/rest-api-explorer/blob/master/src/main/webapp/definitions/alfresco-core.yaml#L7813" title="https://github.com/Alfresco/rest-api-explorer/blob/master/src/main/webapp/definitions/alfresco-core.yaml#L7610" rel="nofollow noopener noreferrer"&gt;alfresco-core.yaml (PathInfo)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2018 22:12:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58757#M20878</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2018-02-04T22:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Different access checks in WebDAV versus in CIFS and Share UI</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58758#M20879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the issue &lt;STRONG&gt;MNT-7483&lt;/STRONG&gt; you link to describes exactly the problem discussed in here, great you found it! Maybe I need to google (jira-search) for it better next time... &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from exactly describing my scenario, it also says that the ckecking behavior is maybe really stated in the CIFS specification somewhere. (&lt;A __default_attr="73554" __jive_macro_name="user" _jive_internal="true" data-id="73554" data-objecttype="3" data-type="person" href="https://community.alfresco.com/people/afaust" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt; , there is actually no "iterative lookup like a navigation even if an exact path is provided", Alfresco's CifsHelper class does this "iterative lookup" itself, a client just sends the exact path.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I think we can close this question now as an answered one &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 13:01:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58758#M20879</guid>
      <dc:creator>p_bodnar</dc:creator>
      <dc:date>2018-02-09T13:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Different access checks in WebDAV versus in CIFS and Share UI</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58759#M20880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I depends on the client and how they operate on a path / folder structure. I worked with a customer using AutoCAD in ~2012 and that application did do an iterative lookup. This became apparent when the underlying network packages were inspected. Sure, a client just sends a path, but the logic about which path is sent is still up to the client (i.e. how it operates on the file system view).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Feb 2018 13:58:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58759#M20880</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-02-11T13:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Different access checks in WebDAV versus in CIFS and Share UI</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58760#M20881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, for you for your insight. Still, the important point in here is that the server side does the parents check anyway, no matter which "crazy client" accesses it... &lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Feb 2018 16:32:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/different-access-checks-in-webdav-versus-in-cifs-and-share-ui/m-p/58760#M20881</guid>
      <dc:creator>p_bodnar</dc:creator>
      <dc:date>2018-02-11T16:32:10Z</dc:date>
    </item>
  </channel>
</rss>

