AppGrant
What one app may do as one WebID, as the user approved it on the host's consent screen.
There is one grant per (packageName, webId). The effective level for a call is the highest level among the entries that cover the call's target: GrantTarget.Pod covers everything, a GrantTarget.Resource covers by IRI prefix, and a GrantTarget.Module covers the module's verbs and the containers the module occupies, which only the host knows. levelOn takes that knowledge as a function so the model stays complete without it.
Constructors
Properties
Functions
The highest level among the entries whose target satisfies covers, or null when none does.
The highest level held on resourceUri, or null when no entry covers it. moduleRoots answers, for a module id, the container IRIs that module occupies on this account.
The highest level held on the data module moduleId, through a pod-wide or a module entry, or null when neither exists.
The level held on the whole pod, or null when no entry is GrantTarget.Pod.