Jump to content

[HELP]ACL Event


Domingos MTA

Recommended Posts

  • Administrators

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...