mirror of
https://github.com/Combodo/iTop.git
synced 2026-06-04 23:22:18 +02:00
Rollback
This commit is contained in:
@@ -1541,8 +1541,8 @@ class UserRights
|
||||
*/
|
||||
public static function IsActionAllowed($sClass, $iActionCode, $oInstanceSet = null, $oUser = null)
|
||||
{
|
||||
// When initializing, we need to let everything pass through
|
||||
if (is_null($oUser) && !self::CheckLogin()) {
|
||||
// When initializing, we need to let everything pass trough
|
||||
if (!self::CheckLogin()) {
|
||||
return UR_ALLOWED_YES;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user