pub fn can_submit_event(
event_type: &str,
context: &PermissionContext,
registry: &TypeRegistry,
) -> boolExpand description
Role check for one event type, using kind defaults and per-type overrides from the room’s type registry. State checks are separate.