fix(rbac) : gate les listes Gitea/BookStack par projects.manage #33

Merged
matthieu merged 2 commits from fix/rbac-integration-gating into develop 2026-06-29 09:35:53 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit b8fa1d168d - Show all commits
@@ -15,7 +15,7 @@ use Symfony\Component\Serializer\Attribute\Groups;
uriTemplate: '/bookstack/shelves',
normalizationContext: ['groups' => ['bookstack_shelf:read']],
provider: BookStackShelfProvider::class,
security: "is_granted('ROLE_ADMIN')",
security: "is_granted('ROLE_USER')",
),
],
)]
@@ -15,7 +15,7 @@ use Symfony\Component\Serializer\Attribute\Groups;
uriTemplate: '/gitea/repositories',
normalizationContext: ['groups' => ['gitea_repo:read']],
provider: GiteaRepositoryProvider::class,
security: "is_granted('ROLE_ADMIN')",
security: "is_granted('ROLE_USER')",
),
],
)]