summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries/Identity.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/libraries/Identity.php')
-rw-r--r--modules/gallery/libraries/Identity.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/gallery/libraries/Identity.php b/modules/gallery/libraries/Identity.php
index 41c25b39..5e6f4217 100644
--- a/modules/gallery/libraries/Identity.php
+++ b/modules/gallery/libraries/Identity.php
@@ -217,4 +217,14 @@ class Identity_Core {
public function list_groups($filter=array()) {
return $this->driver->list_groups($filter);
}
+
+ /**
+ * Return the edit rules associated with an group.
+ *
+ * @param string $object_type to return rules for ("user"|"group")
+ * @return stdClass containing the rules
+ */
+ public function get_edit_rules($object_type) {
+ return $this->driver->get_edit_rules($object_type);
+ }
} // End Identity