Skip to content
This repository has been archived by the owner on Jul 3, 2020. It is now read-only.

Conditions for Guards #262

Open
davidwindell opened this issue Jul 25, 2014 · 2 comments
Open

Conditions for Guards #262

davidwindell opened this issue Jul 25, 2014 · 2 comments

Comments

@davidwindell
Copy link
Contributor

@jmleroux I need an OR condition on the RoutePermissionGuard - did you have any time to implement this?

@jmleroux
Copy link
Contributor

Hello @davidwindell
I don't have much time now, but i can start thinking about it.
Do you have a proposal ?

@davidwindell
Copy link
Contributor Author

@bakura10 suggested in #238 (comment)

'route' => [
    'permissions' => ['bar', 'foo'],
    'condition'   => GuardInterface::OR
]

I would go with either this or make it a global setting for the guard.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants