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.