fix(portal) : embed project id/name in /me response for client users

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-15 21:37:18 +01:00
parent 254f8bc411
commit 1f31a3a33f
2 changed files with 6 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ class Project
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
#[Groups(['project:read', 'time_entry:read', 'task:read'])]
#[Groups(['project:read', 'time_entry:read', 'task:read', 'me:read'])]
private ?int $id = null;
#[ORM\Column(length: 10, unique: true)]
@@ -51,7 +51,7 @@ class Project
private ?string $code = null;
#[ORM\Column(length: 255)]
#[Groups(['project:read', 'project:write', 'time_entry:read', 'task:read'])]
#[Groups(['project:read', 'project:write', 'time_entry:read', 'task:read', 'me:read'])]
private ?string $name = null;
#[ORM\Column(type: 'text', nullable: true)]