pub fn enforce_class_security(
class_name: &str,
privileged: bool,
operation: &str,
detail: ErrorDetail,
) -> Result<(), ParseError>Expand description
Classes a client may not address, reproduced from enforceRoleSecurity
(SharedRest.js:14-55).
Note what is not here. _Role and _Session are absent upstream despite a stale comment
on the function saying otherwise: role reads and writes go through ordinary CLP plus ACL.
_User is absent too. The two additions below are stated rather than silent.