class

Context

class Context : AxonContext

Haxall execution and security context.

constructors make

Runtime.newContext constructor for sys, project, and user

methods ext

Convenience to lookup ext in runtime

cur

Current context for actor thread

rt

Runtime is the project if available, or sys as fallback

checkSu

If missing superuser permission, throw PermissionErr

ns

Runtime namespace

session

Authentication session associated with this context if applicable

proj

Project associated with this context

checkAdmin

If missing admin permission, throw PermissionErr

sys

System

user

User account associated with this context

db

Folio database for the runtime

checkAdmin Void checkAdmin(Str action)

If missing admin permission, throw PermissionErr

checkSu Void checkSu(Str action)

If missing superuser permission, throw PermissionErr

cur static Context? cur(Bool checked)

Current context for actor thread

db Folio db()

Folio database for the runtime

ext Ext? ext(Str name, Bool checked)

Convenience to lookup ext in runtime

make new make(Sys sys, Proj? proj, User user)

Runtime.newContext constructor for sys, project, and user.

ns virtual Namespace ns()

Runtime namespace

proj virtual Proj? proj(Bool checked)

Project associated with this context

rt virtual Runtime rt()

Runtime is the project if available, or sys as fallback

session UserSession? session(Bool checked)

Authentication session associated with this context if applicable

sys virtual Sys sys()

System

user virtual User user()

User account associated with this context

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST