Permission Protocol
Authorizes concrete attempted actions: callers ask whether an action may use authority now.
Permission Protocol
Authorizes concrete attempted actions: callers ask whether an action may use authority now.
| Field | Value |
|---|---|
| Protocol ID | aster.permission |
| Version | 1.0.0 |
| Compatibility range | ^1.0.0 |
| Requirement helper | aster.permission.require(settings?) via the protocol module |
| Provider helper | Not available until the protocol module declares a runtime service tag. |
Settings
DefaultProtocolSettingsSchema (Record<string, unknown> | null).
Operations
| Operation | Summary | Request | Response |
|---|---|---|---|
authorize | Decide whether a concrete attempted action is authorized; an undefined result is a denial-free pass with no grant. | Effect Schema (Objects) | Effect Schema (Union) |
Conformance Expectations
- Register with
aster.permissionat1.0.0inside^1.0.0. - Implement every operation:
authorize. - Decode requests and responses against the operation schemas listed above.
- Run the protocol conformance kit where one exists:
PermissionProviderConformanceKit.
Declared Authority
[ { "kind": "provider_right", "protocol": "aster.permission" }]