Posted on: 11/07/05 11:45am
By: timatlee
Hello ...
Is there an "easy" way of finding out what groups a user belongs to based on a feature?
So, if I had feature "plugin.feature", and "Plugin Group 1" and "Plugin Group 2" both had that feature as part of their rights (either directly or inherited), is there a way I can retrieve the group names?
Thanks..
Plugin groups / feature question
Posted on: 11/07/05 02:36pm
By: Dirk
[QUOTE BY= timatlee] Is there an "easy" way of finding out what groups a user belongs to based on a feature?[/QUOTE]
I don't think we have a function for that.
Check the code in lib-security.php and admin/group.php. You may find some snippets there that you can use to build such a function.
bye, Dirk