def granted
import near-architecture@0.9.1.0/arc.bend as Arcimport Base
828# What `person` is granted on `scope`; [] when nothing is granted there.
829def granted(a: Agreement, +person: String, +scope: String) -> List<&2, String>:
830 match a:
831 case Agreement{_, _, grants, _}:
832 granted.go(grants, person, scope)
Uses (4)
Used by (0)
No other definition uses this definition.