objectManager: Never show add entry link if the user isn't an admin
This commit is contained in:
committed by
Chris Morgan
parent
6eccc11979
commit
ecbfa84600
@@ -322,7 +322,7 @@ class ObjectManager
|
||||
}
|
||||
}
|
||||
|
||||
if($this->GetOptionalSetting("objectShowAddEntry", FALSE))
|
||||
if($this->GetOptionalSetting("objectShowAddEntry", FALSE) && $oObject->canEdit())
|
||||
{
|
||||
echo "<br><center><a href=\"".
|
||||
$this->makeUrl("add", false,
|
||||
|
||||
Reference in New Issue
Block a user