pragmalang/pragma

Make all permissions "deep"

anasbarg opened this issue · 0 comments

Make all permissions "deep"

Pragmafile: https://gist.github.com/anasbarg/f5617d17e45e35488689408322e14a16

Why

This means that a rule such as allow READ User means any query on User (with any depth of selections) is allowed. The same goes for any permission. This becomes convenient when access rules can be arbitrarily detailed (of arbitrary length, see #77).