mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 11:48:49 +02:00
Added permissions to control access to API and manage API tokens
This commit is contained in:
parent
be14fe548c
commit
8fe3f4cf5c
7 changed files with 60 additions and 26 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue