Jump to content

[QUESTION] Resource only for members


rafull6

Recommended Posts

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?

Link to comment
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!?

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