Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rockit8 16 posts 36 karma points
    Jun 20, 2012 @ 18:21
    Rockit8
    0

    Umbraco Events

    Hi everyone!

    I'm trying to do an Audit System more sufisticated then the Audit Trail provided by default.

    I'm trying to accomplish two simple things:

    • Audit changes in node permissions (Content Section)
    • Audit email notifications (The notifications for users that you can subscribe)

    How can i do this? I cant see events for these things in this event list .

    Thanks and regards.

     

  • Rodion Novoselov 694 posts 859 karma points
    Jun 21, 2012 @ 11:32
    Rodion Novoselov
    0

     

    Hi. Regarding the first point, AFAIK there's no special event being raised on permission changes. I guess it could be implemented manually in some workaround way with observing changes to the ~/App_Data/access.config file with something like a FileSystemWatcher component.

  • Rockit8 16 posts 36 karma points
    Jun 21, 2012 @ 14:31
    Rockit8
    0

    Hi Rodion, thanks for the reply!

    Its the "possible workaround" option that i'm interested in. Monitor a file is not really an option :/ and that file in my umbraco is "empty" (contains only "<access></access>" and i've changed some permissions).

    Thanks.

  • Rodion Novoselov 694 posts 859 karma points
    Jun 21, 2012 @ 14:55
    Rodion Novoselov
    0

    It sounds like you're talking about users' permissions (whereas I thought it was about members' access). In such a case (it could be not an absolutely excellent idea since it will require database changes, but it should work out ok I suppose) you could put a database trigger on the dbo.umbracoUser2NodePermission database table so that to monitor permission changes with it.

  • Rockit8 16 posts 36 karma points
    Jun 21, 2012 @ 16:47
    Rockit8
    0

    Yes, i'm talking about user permissions. When you right click a node and can set the permissions to all the actions.

    In the lack of code events that seems to be the better option.

    I'll keep the post without solution a few days to see if there is anyone that knows other options.

    Thanks for your help Rodion! ;)

Please Sign in or register to post replies

Write your reply to:

Draft