Skip to main content

Authorisation Entity Ontology

Security Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 11 November 2026
Audio Overview
KIRETH RESEARCH — SEMANTIC LIBRARY
AUTHORISATION ENTITY ONTOLOGY — FLOW ALGEBRA v1.0
Category: Computational Entities > Security Entities
Authors: Mark Anthony Higgins — Sky Recursive AI
Date: 11 November 2026
Source: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/security-entities/authorisation-entity-ontology-2.html
Status: Constructed, topic-level Flow Algebra mapping; not a verified transcription of embedded webpage specifications.

1. PURPOSE
Represent how a computing system decides whether an authenticated or unauthenticated principal may perform a particular action on a protected resource, under an explicit policy and contextual constraints. Authorisation is distinct from authentication: identity evidence alone never implies permission.

2. HST STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = request facts: principal, action, resource, environment, credentials and policy version.
R_t = relationships: role membership, ownership, grants, hierarchy and delegation.
B_t = boundaries: deny rules, tenant isolation, expiry, scope and least privilege.
K_t = knowledge: applicable policies, prior decisions and trusted attributes.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t)}
x*_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*_t, observation_(t+1))
Note: The argmax expresses candidate ranking within the HST model; it must never override a deterministic policy denial. The policy decision point remains authoritative.

3. ENTITY MODEL
AuthorisationDecision: id, request_id, effect (Permit/Deny/Indeterminate/NotApplicable), policy_version, evaluated_at, reason_codes.
Principal: user, service identity, workload or anonymous actor.
ProtectedResource: id, type, tenant, owner, classification, attributes.
Action: operation and scope, e.g. read, write, delete, administer.
Policy: identifier, version, applicability, conditions, effect, precedence.
Role: named set of permissions; membership is contextual and revocable.
Permission: action/resource scope plus conditions.
Attribute: trusted principal/resource/environment fact with provenance and freshness.
Obligation: mandatory action accompanying a permitted decision, e.g. audit event.
Delegation: bounded authority from grantor to grantee, with expiry and revocation.

4. RELATIONSHIP GRAPH
Principal --HAS_ROLE--> Role --GRANTS--> Permission
Permission --COVERS_ACTION--> Action
Permission --COVERS_RESOURCE--> ProtectedResource
Policy --EVALUATES--> AuthorisationRequest
Policy --REQUIRES_ATTRIBUTE--> Attribute
AuthorisationRequest --PRODUCES--> AuthorisationDecision
AuthorisationDecision --REQUIRES_OBLIGATION--> Obligation
Delegation --BOUNDED_BY--> Scope / Expiry / Revocation
Resource --BELONGS_TO--> Tenant

5. CORE FLOW ALGEBRA PATHWAYS
F1 REQUEST: receive(principal, action, resource, context) -> canonicalise identifiers -> assign request_id.
F2 TRUST: verify authentication claims when required -> verify issuer, audience, expiry and attribute provenance -> reject untrusted facts.
F3 POLICY: retrieve active, versioned policies -> determine applicability -> evaluate conditions.
F4 DECIDE: combine effects using explicit policy-combining algorithm -> Permit | Deny | NotApplicable | Indeterminate.
F5 ENFORCE: policy enforcement point checks decision, scope and obligations -> execute only on Permit and satisfied obligations.
F6 AUDIT: record decision metadata, policy version and reason without exposing secrets.
F7 CHANGE: revoke grant or modify policy -> invalidate stale authorisation caches -> re-evaluate subsequent requests.

6. INFERENCE RULES
IF principal lacks a required permission THEN Deny.
IF a policy explicitly denies an action AND deny-overrides applies THEN Deny.
IF principal is authenticated BUT has no applicable grant THEN do not infer Permit.
IF tenant(principal) != tenant(resource) AND no explicit cross-tenant authority THEN Deny.
IF delegated scope excludes requested action or resource THEN Deny.
IF delegation is expired or revoked THEN Deny.
IF required attributes are missing or cannot be verified THEN Indeterminate or Deny according to fail-closed enforcement policy.
IF policy changes after a cached decision THEN invalidate or bound cache freshness before reuse.
IF a permission is granted THEN permit only for the specified action, resource and context.

7. MINI RECURSION ENGINE
function evaluate(request, policy_graph, depth_limit):
    visited = set()
    def walk(node, depth):
        if depth > depth_limit: return Indeterminate
        if node in visited: return Indeterminate
        visited.add(node)
        facts = verify_attributes(node, request)
        if facts.invalid: return Indeterminate
        child_results = [walk(c, depth + 1) for c in applicable_children(node)]
        return combine_with_declared_precedence(node, facts, child_results)
    result = walk(policy_graph.root, 0)
    return enforce_fail_closed(result)
Termination is bounded by depth_limit and visited-set cycle detection. A policy graph may contain cycles; recursion does not imply automatic permission.

8. SAFETY INVARIANTS AND BOUNDARIES
- Default deny for absent, ambiguous or unverifiable authorisation.
- Enforce at the protected operation, not merely at a user interface.
- Validate object-level access to prevent cross-record or cross-tenant access.
- Prevent confused-deputy escalation by binding delegated credentials to purpose and audience.
- Separate duties where policy requires independent approval.
- Time-of-check/time-of-use changes may require transactional revalidation.
- Auditing is necessary but not a substitute for enforcement.
- Availability, safety and liveness depend on deployment and policy correctness; this model alone guarantees none.

9. SEMANTIC EQUIVALENCE
Authorisation / Authorization: equivalent UK/US spelling for access decision control.
Permission / Grant: related but not always identical; a grant is an assignment of authority.
Authentication != Authorisation.
Role-based access control (RBAC), attribute-based access control (ABAC) and relationship-based access control (ReBAC) are alternative/composable policy models, not interchangeable implementations.
Deny != Indeterminate != NotApplicable: preserve distinct decision semantics.

10. EXECUTION TRACE EXAMPLE
Request: principal=editor_7, action=update, resource=article_42, tenant=team_A.
Trusted facts: editor_7 has editor role for team_A; article_42 belongs to team_A.
Policy: editors may update draft articles in their own tenant; published articles require approval.
Observation: article_42 is draft, approval condition not applicable.
Decision: Permit, conditional on policy version and audit obligation.
Counterexample: if article_42 belongs to team_B, deny despite editor role in team_A.

11. PROVENANCE AND CITATION
Reference ontology topic: https://kirethresearch.org/booksai-core/entity-graph/computational-entities/security-entities/authorisation-entity-ontology-2.html
Citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Authorisation Entity Ontology — Flow Algebra v1.0. Kireth Research Semantic Library. Cite the source URL when reusing this constructed mapping.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ