being in admins group automatically results in a ui level great enough to see everything
This commit is contained in:
parent
fa678a65fa
commit
debd4e8c82
3 changed files with 12 additions and 2 deletions
|
|
@ -361,7 +361,7 @@ sub getAssetAdderLinks {
|
|||
if ($@) {
|
||||
WebGUI::ErrorHandler::error("Couldn't get UI level of ".$class." because ".$@);
|
||||
} else {
|
||||
next if ($uiLevel > $session{user}{uiLevel});
|
||||
next if ($uiLevel > $session{user}{uiLevel} || WebGUI::Grouping::isInGroup(3));
|
||||
}
|
||||
my $canAdd = eval{$class->canAdd()};
|
||||
if ($@) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue