Skip to content

Kitto.Config.AccessControl

Typed config reader for the access-control domain (Config.yaml node AccessControl). Part of the per-domain organization of the config metadata (replacing the monolithic Kitto.Metadata.SubNodes). Carries the [YamlNode] attributes that KIDE reads via RTTI for the Config editor.

NB: the AccessControl: DB plugin and Auth: JWT read these keys from the configuration node handed to them (see Kitto.AccessControl.DB / Kitto.Auth.JWT), so the runtime does not go through this singleton reader; the reader exists for KIDE discovery and for uniform typed access via TKConfig.AccessControl.

TKAccessControlConfig class

Access control settings from Config.yaml. YAML path: AccessControl

AccessControl:
ReadPermissionsCommandText: SELECT * FROM PERMISSIONS
ReadRolesCommandText: SELECT * FROM ROLES

Released under Apache License, Version 2.0.