* Resources: fix category-name not shown in edit, if user has no edit rights to the resources

This commit is contained in:
ralf 2024-05-15 12:50:31 +02:00
parent 5da58aeb03
commit 691c3755f5

View File

@ -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');