From 806fdaa1d14d6d221f479e604cf090a0f02dc6ee Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 12 Oct 2009 06:24:39 +0000 Subject: [PATCH] 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 --- gosa-core/include/class_userinfo.inc | 8 ++++++++ 1 file changed, 8 insertions(+) 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',"")); -- 2.30.2