mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
* Resources: fix category-name not shown in edit, if user has no edit rights to the resources
This commit is contained in:
parent
5da58aeb03
commit
691c3755f5
@ -576,6 +576,7 @@ class resources_ui
|
||||
$read_only = array();
|
||||
if($res_id && !$this->bo->acl->is_permitted($content['cat_id'],Acl::EDIT))
|
||||
{
|
||||
$sel_options['cat_id'] = $this->bo->acl->get_cats(Acl::READ);
|
||||
$read_only['__ALL__'] = true;
|
||||
}
|
||||
$config = Api\Config::read('resources');
|
||||
|
Loading…
Reference in New Issue
Block a user