mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
If user doesn't have site configuration access, then don't show the site configuration link for each app
This commit is contained in:
parent
12223430f7
commit
b8fcaa3c08
@ -84,7 +84,11 @@
|
||||
|
||||
while(list($text,$url) = each($file))
|
||||
{
|
||||
section_item($url,lang($text));
|
||||
// If user doesn't have application configuration access, then don't show the configuration links
|
||||
if (!preg_match('/admin\.uiconfig/', $url) || !$GLOBALS['phpgw']->acl->check('site_config_access',1,'admin'))
|
||||
{
|
||||
section_item($url,lang($text));
|
||||
}
|
||||
}
|
||||
section_end();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user