Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to authorize nested resources?#8728

Unanswered
vfonic asked this question inHelp
Discussion options

I have a nested resource that is ahas_many :through N-to-N relationship with parent resource. This means that when calling authorization methods, I cannot do something likeresource.parent, because it's N-to-N, so it'sresource.parents.
How can I pass bothparent andresource to authorization adapter? For example, how can I do this inmember_action, where, callingresource automatically calls authorization adapter?

Thanks!

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Help
Labels
None yet
1 participant
@vfonic

[8]ページ先頭

©2009-2025 Movatter.jp