Reputation: 2194
It may sound a bit weird, but in Bukkit (Minecraft Server) there's a permissions managment that works like that for example:
pluginname.class.function
Now i can give a user or group the permission to call let's say the function "create":
pluginname.class.create
or to all functions of a class:
pluginname.class.*
or even for all classes:
pluginname.*
Does anyone know a system that works like this for PHP? I googled but i found absolutely nothing. So I'm basically looking for a User/Group permissions managment system that also allows me to specify some kind of wildcards.
Upvotes: 0
Views: 745
Reputation: 60403
Zend_Acl
supports this kind of thing but you need to write all the wireing yourself - eg. you can jsut install it and havit work automagically.
Upvotes: 1
Reputation: 552
I believe what you are looking for is called Access Control Lists. Google has plenty of results for both plugins and classes.
Also might be worth looking at:
https://stackoverflow.com/questions/370371/recommend-a-php-acl-class
Upvotes: 1