This repository has been archived by the owner on Feb 24, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #618 Allow arrays of parameters to be used with @IsGranted (s…
…nebes) This PR was squashed before being merged into the 5.4.x-dev branch (closes #618). Discussion ---------- Allow arrays of parameters to be used with @IsGranted This will allow `@IsGranted` annotation to pass an array of parameters to the security checker. For example: ``` @IsGranted("CAN_DO_THINGS", subject={"thing1", "thing2"}) ``` The equivalent can be done using an expression in the `@Security` annotation, but using the `@IsGranted` annotation provides better readability. Commits ------- 296b733 Allow arrays of parameters to be used with @IsGranted
- Loading branch information
Showing
2 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters