mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-05 15:05:58 +01:00
Added permissions to control access to API and manage API tokens
This commit is contained in:
@@ -102,7 +102,7 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe
|
||||
final public const ID_ANONYMOUS = 1;
|
||||
|
||||
#[Groups(['user:read'])]
|
||||
protected ?int $id;
|
||||
protected ?int $id = null;
|
||||
|
||||
#[Groups(['user:read'])]
|
||||
protected ?\DateTimeInterface $lastModified = null;
|
||||
|
||||
Reference in New Issue
Block a user