Decide what the default rules say about one requirement. The most specific rule wins: napplet operation, napplet domain, napplet default, then the same three globally. Interface access has no operation, so it skips operation rules.
Host-owned default policy.
Trusted identity of the requesting napplet.
One normalized requirement of the request.
Whether to allow, ask or deny when no stored decision applies.
resolvePermissionRule(rules, principal, { category: 'resource', domain: 'link', operation: 'link.open', scope: { kind: 'exact', value: 'https://example.org/' },}); // 'ask' Copy
resolvePermissionRule(rules, principal, { category: 'resource', domain: 'link', operation: 'link.open', scope: { kind: 'exact', value: 'https://example.org/' },}); // 'ask'
Decide what the default rules say about one requirement. The most specific rule wins: napplet operation, napplet domain, napplet default, then the same three globally. Interface access has no operation, so it skips operation rules.