This commit is contained in:
jf-cbd
2026-06-03 16:04:05 +02:00
parent f3e2c30380
commit f9afebf7c6

View File

@@ -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;
}