refactor(core): centralize reserved system user identity
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace KTXF\Resource;
|
||||
|
||||
/**
|
||||
* Reserved identities used by tenant-scoped internal services.
|
||||
*/
|
||||
final class SystemIdentity
|
||||
{
|
||||
/**
|
||||
* User identifier for resources owned by the tenant rather than a person.
|
||||
*/
|
||||
public const USER = 'system';
|
||||
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user