type
constructors
| make |
Runtime.newContext constructor for sys, project, and user. |
|---|
methods
| checkAdmin |
If missing admin permission, throw PermissionErr |
|---|---|
| checkSu |
If missing superuser permission, throw PermissionErr |
| cur |
Current context for actor thread |
| db |
Folio database for the runtime |
| ext |
Convenience to lookup ext in runtime |
| ns |
Runtime namespace |
| proj |
Project associated with this context |
| rt |
Runtime is the project if available, or sys as fallback |
| session |
Authentication session associated with this context if applicable |
| sys |
System |
| user |
User account associated with this context |
Slot Details
checkAdmin
checkSu
cur
db
Folio db()
Folio database for the runtime
ext
make
ns
virtual override Namespace ns()
Runtime namespace
proj
rt
virtual Runtime rt()
Runtime is the project if available, or sys as fallback
session
UserSession? session(Bool checked := true)
Authentication session associated with this context if applicable
sys
virtual Sys sys()
System
user
virtual User user()
User account associated with this context