mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +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))
|
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();
|
section_end();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user