mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-05 01:22:16 +02: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();
|
$read_only = array();
|
||||||
if($res_id && !$this->bo->acl->is_permitted($content['cat_id'],Acl::EDIT))
|
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;
|
$read_only['__ALL__'] = true;
|
||||||
}
|
}
|
||||||
$config = Api\Config::read('resources');
|
$config = Api\Config::read('resources');
|
||||||
|
Loading…
Reference in New Issue
Block a user