Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Policy] Add custom pundit macros #269

Open
dzemlianoi-double opened this issue Nov 6, 2020 · 0 comments
Open

[Policy] Add custom pundit macros #269

dzemlianoi-double opened this issue Nov 6, 2020 · 0 comments
Assignees

Comments

@dzemlianoi-double
Copy link
Contributor

Interface:

Macro::Policy::Pundit(MyCustomPolicy, user: :some_key_from_context_by_default_current_user, model: :some_key_from_context_by_default_current_user, rule: :any_rule_like_update?)

@alexyndr alexyndr linked a pull request Nov 12, 2020 that will close this issue
3 tasks
@chubchenko chubchenko changed the title [Policy] Add custom macros [Policy] Add custom pundit macros Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants