Users don't have permission to modify application versions if they aren't logged in.
This commit is contained in:
@@ -863,6 +863,9 @@ class User {
|
||||
*/
|
||||
function hasAppVersionModifyPermission($oVersion)
|
||||
{
|
||||
if(!$this->isLoggedIn())
|
||||
return false;
|
||||
|
||||
if($this->hasPriv("admin"))
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user