mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
* InfoLog: remove group-types user has not any rights to as filter in list
This commit is contained in:
parent
89fa80a750
commit
5459012074
@ -836,6 +836,13 @@ class infolog_ui
|
||||
'info_priority' => $this->bo->enums['priority'],
|
||||
);
|
||||
|
||||
// remove group-types user has not any rights to as filter
|
||||
// does not take implicit rights as delegated into account, so they will not be available as filters
|
||||
foreach($this->bo->group_owners as $type => $group)
|
||||
{
|
||||
if (!isset($this->bo->grants[$group])) unset($sel_options['info_type'][$type]);
|
||||
}
|
||||
|
||||
egw_framework::validate_file('.','index','infolog');
|
||||
|
||||
return $this->tmpl->exec('infolog.infolog_ui.index',$values,$sel_options,$readonlys,$persist,$return_html ? -1 : 0);
|
||||
|
Loading…
Reference in New Issue
Block a user