Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Add example of @IsGranted() with multiple roles. #624

Merged
merged 1 commit into from Jul 3, 2019
Merged

Add example of @IsGranted() with multiple roles. #624

merged 1 commit into from Jul 3, 2019

Commits on Jul 2, 2019

  1. Add example of @IsGranted() with multiple roles.

    There are use cases of `@IsGranted()` where we want to check that a user has any one of multiple roles. I've seen this is two separate occasions already, especially with people migrating away from the JMSSecurityExtraBundle.
    
    Does including one example make sense? Should there be a separate sentence or paragraph pointing this out?
    mattjanssen committed Jul 2, 2019
    Copy the full SHA
    97cc360 View commit details
    Browse the repository at this point in the history