Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP
Browse files Browse the repository at this point in the history
ottaviano committed Jan 30, 2025

Verified

This commit was signed with the committer’s verified signature.
flaeppe Petter Friberg
1 parent cbde8af commit d5a5981
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -12,8 +12,8 @@
use Symfony\Component\Routing\Attribute\Route;
use Symfony\Component\Security\Http\Attribute\IsGranted;

#[Route(path: '/v3/filters', name: 'app_collection_filters_get', methods: ['GET'])]
#[IsGranted(new Expression("is_granted('REQUEST_SCOPE_GRANTED', ['contacts', 'messages'])"))]
#[Route(path: '/v3/filters', name: 'app_collection_filters_get', methods: ['GET'])]
class GetCollectionFiltersController extends AbstractController
{
public function __construct(
2 changes: 1 addition & 1 deletion src/Controller/Api/Security/GetJWTTokenController.php
Original file line number Diff line number Diff line change
@@ -11,8 +11,8 @@
use Symfony\Component\Routing\Attribute\Route;
use Symfony\Component\Security\Http\Attribute\IsGranted;

#[Route(path: '/v3/sso/jwt/{uuid}', name: 'api_security_get_jwt_token', methods: ['GET'])]
#[IsGranted(new Expression("is_granted('REQUEST_SCOPE_GRANTED', 'featurebase')"))]
#[Route(path: '/v3/sso/jwt/{uuid}', name: 'api_security_get_jwt_token', methods: ['GET'])]
class GetJWTTokenController extends AbstractController
{
public function __invoke(Client $client, JWTTokenGenerator $tokenGenerator): Response
2 changes: 2 additions & 0 deletions src/Entity/EntityIdentityTrait.php
Original file line number Diff line number Diff line change
@@ -36,8 +36,10 @@ trait EntityIdentityTrait
'audience_list_read',
'audience_read',
'audience_segment_read',
'my_team_member_write',
'cause_read',
'committee:list',
'committee:update_animator',
'committee:read',
'committee_candidacies_group:read',
'committee_candidacy:read',

0 comments on commit d5a5981

Please sign in to comment.