Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 01856b147c | |||
| 4a1d611d3c |
+1
-1
@@ -1,2 +1,2 @@
|
||||
parameters:
|
||||
app.version: '0.4.50'
|
||||
app.version: '0.4.49'
|
||||
|
||||
@@ -15,7 +15,9 @@ use Symfony\Component\Serializer\Attribute\Groups;
|
||||
uriTemplate: '/bookstack/shelves',
|
||||
normalizationContext: ['groups' => ['bookstack_shelf:read']],
|
||||
provider: BookStackShelfProvider::class,
|
||||
security: "is_granted('ROLE_ADMIN')",
|
||||
// Liste toutes les étagères visibles par le token BookStack global :
|
||||
// réservé à qui configure un projet (ProjectDrawer), pas à tout user.
|
||||
security: "is_granted('project-management.projects.manage')",
|
||||
),
|
||||
],
|
||||
)]
|
||||
|
||||
@@ -15,7 +15,9 @@ use Symfony\Component\Serializer\Attribute\Groups;
|
||||
uriTemplate: '/gitea/repositories',
|
||||
normalizationContext: ['groups' => ['gitea_repo:read']],
|
||||
provider: GiteaRepositoryProvider::class,
|
||||
security: "is_granted('ROLE_ADMIN')",
|
||||
// Liste l'intégralité des dépôts visibles par le token Gitea global :
|
||||
// réservé à qui configure un projet (ProjectDrawer), pas à tout user.
|
||||
security: "is_granted('project-management.projects.manage')",
|
||||
),
|
||||
],
|
||||
)]
|
||||
|
||||
Reference in New Issue
Block a user