summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1ad51ae)
raw | patch | inline | side by side (parent: 1ad51ae)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Jul 2006 08:01:41 +0000 (08:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 20 Jul 2006 08:01:41 +0000 (08:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4251 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_plugin.inc | patch | blob | history |
index 3d59015a24b6dc343e888fd3cb7877f827d5961b..a4182cfd8773ba680b67ae5fa1a2a2dc39a14306 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
}
- function acl_is_writeable($attribute)
+ function acl_is_writeable($attribute,$skip_write = FALSE)
{
$ui= get_userinfo();
- return preg_match('/w/', $ui->get_permissions($this->dn, get_class($this), $attribute));
+ return preg_match('/w/', $ui->get_permissions($this->dn, get_class($this), $attribute,$skip_write));
}
}
- function getacl($attribute)
+ function getacl($attribute,$skip_write= FALSE)
{
$ui= get_userinfo();
- return $ui->get_permissions($this->dn, get_class($this), $attribute);
+ return $ui->get_permissions($this->dn, get_class($this), $attribute,$skip_write);
}
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: