<?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: Audit log when Document access is forbidden (User Cannot Read the Document) in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325675#M12676</link>
    <description>&lt;P&gt;Yes, I know that.&lt;/P&gt;
&lt;P&gt;Thank you  very much Florent!&lt;/P&gt;</description>
    <pubDate>Sun, 03 Apr 2016 12:41:40 GMT</pubDate>
    <dc:creator>Klyff_Harlley1</dc:creator>
    <dc:date>2016-04-03T12:41:40Z</dc:date>
    <item>
      <title>Audit log when Document access is forbidden (User Cannot Read the Document)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325670#M12671</link>
      <description>&lt;P&gt;How to create a Audit Log (or even a History line of Document) in Nuxeo when a User that don't have permission to read the , but try to access with a permalink?&lt;/P&gt;
&lt;P&gt;That are some way to do by extension point?&lt;/P&gt;
&lt;P&gt;I know is possible to do by listening events on document. (https://doc.nuxeo.com/display/NXDOC/Audit#Audit-Event)&lt;/P&gt;
&lt;P&gt;But dont exists any event like “no_access_granted_for_document” or some other way to do?&lt;/P&gt;
&lt;P&gt;-I think the Access Check (hasPermission) happens before the Audit be available for. I'm wrong?&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 12:38:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325670#M12671</guid>
      <dc:creator>Klyff_Harlley1</dc:creator>
      <dc:date>2016-03-05T12:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Audit log when Document access is forbidden (User Cannot Read the Document)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325671#M12672</link>
      <description>&lt;P&gt;You're right, there's no event sent when permissions checks failed and access to a document is denied. So what you're trying to do is not currently possible without changing some code inside Nuxeo.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 13:57:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325671#M12672</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2016-03-31T13:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Audit log when Document access is forbidden (User Cannot Read the Document)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325672#M12673</link>
      <description>&lt;P&gt;Hi Florent.&lt;/P&gt;
&lt;P&gt;Yes, I thought about it. So, I'll try doing it inside AbstractSession.java (hasPermission methods), for having the event fired and a simple contrib to handle that event.
It's be a good way? What do you think?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 14:18:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325672#M12673</guid>
      <dc:creator>Klyff_Harlley1</dc:creator>
      <dc:date>2016-03-31T14:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Audit log when Document access is forbidden (User Cannot Read the Document)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325673#M12674</link>
      <description>&lt;P&gt;It will mostly work but please be aware that there are a number of places where DocumentException is caught and ignored, so you'll get spurious logs. For instance &lt;CODE&gt;CoreSession.getDocuments&lt;/CODE&gt; does this, or Nuxeo Drive. Maybe &lt;CODE&gt;DefaultNuxeoExceptionHandler&lt;/CODE&gt; or a subclass, when calling &lt;CODE&gt;ExceptionHelper.isSecurityError&lt;/CODE&gt;, would be a better location.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 14:23:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325673#M12674</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2016-03-31T14:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Audit log when Document access is forbidden (User Cannot Read the Document)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325674#M12675</link>
      <description>&lt;P&gt;Note that if you modify Nuxeo code you're on your own for future upgrades, it's very likely that this area of the code will change in future releases.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 14:36:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325674#M12675</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2016-03-31T14:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Audit log when Document access is forbidden (User Cannot Read the Document)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325675#M12676</link>
      <description>&lt;P&gt;Yes, I know that.&lt;/P&gt;
&lt;P&gt;Thank you  very much Florent!&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2016 12:41:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325675#M12676</guid>
      <dc:creator>Klyff_Harlley1</dc:creator>
      <dc:date>2016-04-03T12:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Audit log when Document access is forbidden (User Cannot Read the Document)</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325676#M12677</link>
      <description>&lt;P&gt;Sounds Good!  I think ExceptionHelper.isSecurityError  should work.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2016 12:42:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/audit-log-when-document-access-is-forbidden-user-cannot-read-the/m-p/325676#M12677</guid>
      <dc:creator>Klyff_Harlley1</dc:creator>
      <dc:date>2016-04-03T12:42:19Z</dc:date>
    </item>
  </channel>
</rss>

