diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-20 17:21:33 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-20 17:21:33 -0700 |
commit | b28c758d4a98c9e877fb81f7b88f9c8597de74b6 (patch) | |
tree | f3d4257d739a3b23f0168b5618dab2586491b697 /modules/gallery/libraries/drivers | |
parent | 3ece1a01f25270939b3c12f754d555d6ac54d375 (diff) |
Add lookup_group Identity provider API and change the permissions controller to use it to get the group it is modifying
Diffstat (limited to 'modules/gallery/libraries/drivers')
-rw-r--r-- | modules/gallery/libraries/drivers/Identity.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/gallery/libraries/drivers/Identity.php b/modules/gallery/libraries/drivers/Identity.php index b77eb6be..5b35d49b 100644 --- a/modules/gallery/libraries/drivers/Identity.php +++ b/modules/gallery/libraries/drivers/Identity.php @@ -98,6 +98,13 @@ interface Identity_Driver { public function get_user_list($ids); /** + * Look up a group by id. + * @param integer id + * @return Group_Definition the user object, or null if the name was invalid. + */ + static function lookup_group($id); + + /** * List the groups defined in the Identity Provider */ static function groups(); |