Skip to content

Is it possible to reverse an permissions check? #1498

Discussion options

You must be logged in to vote

Hi 👋🏻 ,

in order to be able to check is_site_admin over a site for a user that happens to be a section_moderator you need to provide a way to traverse the graph from a site, therefore you need a relation section: section under site.

There is also a proposal for a reverse relations that would help making that easier so it's inferred instead of requiring the corresponding writes: #356

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jzelinskie
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
kind/question Clarifying a question without code changes area/schema Affects the Schema Language
2 participants
Converted from issue

This discussion was converted from issue #1211 on August 17, 2023 16:32.