Domingos MTA Posted September 6, 2017 Share Posted September 6, 2017 Is there an event that is activated when an acl group is changed? Link to comment
Administrators Lpsd Posted September 6, 2017 Administrators Share Posted September 6, 2017 No, but you can easily make them yourself. Make a separate resource called acl-events or such, follow this example; __aclGroupAddObject = aclGroupAddObject; function aclGroupAddObject ( ... ) if ( __aclGroupAddObject ( ... ) ) then triggerEvent ( "onACLGroupObjectAdd", root, ... ); return true end return false end original post; Then you can export the __aclGroupAddObject function (and any other functions you overwrite) and use it in your other resources instead of the original aclGroupAddObject. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now