From: hickert Date: Mon, 12 Oct 2009 06:24:39 +0000 (+0000) Subject: Added a method which returns an array with all objects we've permissions on. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=806fdaa1d14d6d221f479e604cf090a0f02dc6ee;p=gosa.git Added a method which returns an array with all objects we've permissions on. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14572 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index 65ac65c58..06a9648d1 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -243,6 +243,14 @@ class userinfo } + /* Returns an array containing all target objects we've permssions on. + */ + function get_acl_target_objects() + { + return(array_keys($this->ACLperPath)); + } + + function get_category_permissions($dn, $category, $any_acl = FALSE) { return(@$this->get_permissions($dn,$category.'/0',""));