Vector Posted April 11, 2013 Share Posted April 11, 2013 Hi, guys. I tried to use the next functions in my scripts (server-side) but they didnt work ... createResource, deleteResource, startResource, stopResource, restartResource. When running the script, the console said: WARNING: Access Denied @ 'createResource' WARNING: Access Denied @ 'deleteResource' WARNING: Access Denied @ " " It said "WARNING" but the functions are not called How can avoid this? Link to comment
iPrestege Posted April 11, 2013 Share Posted April 11, 2013 Add the resource to admin in the acl resource.res name Link to comment
Vector Posted April 11, 2013 Author Share Posted April 11, 2013 Can you explain a bit more? Link to comment
iPrestege Posted April 11, 2013 Share Posted April 11, 2013 Add this to admin group in ur acl.xml file : "resource.You're resource name"> Link to comment
Vector Posted April 11, 2013 Author Share Posted April 11, 2013 It works fine, thanks. silly of me.. 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