N°8219 - Allow to reset user cache

This commit is contained in:
Stephen Abello
2025-07-11 10:28:24 +02:00
parent 497fc4978a
commit 700470dd29

View File

@@ -1962,6 +1962,15 @@ class UserRights
return self::$m_aCacheUsers[$sAuthentication][$sLogin];
}
/**
* Reset the cache of users
* @return void
*/
public static function ResetCacheUsers()
{
self::$m_aCacheUsers = [ 'internal' => [], 'external' => [] ];
}
/**
* @param string$sClass
* @param array $aAllowedOrgs