pub fn is_valid_controller(caller: UserId, controllers: &Controllers) -> boolExpand description
Checks if a caller is a non-expired controller regardless of scope (admin, write, or submit).
§Arguments
caller:UserIdof the caller.controllers: Reference to the current set of controllers.
§Returns
true if the caller is a controller (not anonymous, calling itself or one of the known controllers), otherwise false.