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.
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).
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.
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:
How can i do this? I cant see events for these things in this event list .
Thanks and regards.
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.
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.
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.
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! ;)
is working on a reply...