Jump to content

[QUESTION] Resource only for members


rafull6

Recommended Posts

Posted

Hey guys, I have a question: How to make that current resource will be available only for Members and Admins on the server?

I have read acl.xml file and found that users can use all resources:

<group name="Everyone"> 
        <acl name="Default" /> 
        <object name="user.*" /> 
        <object name="resource.*" /> 
    </group> 

How to make an exception for current resource, that it will be available only for Members and Admins?

Posted

You need to edit the ALC Correctly to only load the resource for a certain group... So create a new group that when login or register they bellong to that group then apply that resource to them...

Posted
You need to edit the ALC Correctly to only load the resource for a certain group... So create a new group that when login or register they bellong to that group then apply that resource to them...

For example i want that "example" resource belonged to Admin group only, than i must add this

<object name="resource.superpowers" /> 

to Admin group in ACL!?

Posted

Here is the main problem. This resource do not use command, it works by button hit, so when i press button "i" (for example) it opens a window, so i can't disable it in ACL.

Posted

Look at the ACL functions on the wiki - you can use the ACL to limit access to anything, including GUI buttons...

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...