Skip to main content

may_edit_job

Function may_edit_job 

Source
fn may_edit_job(caller: Option<&Caller>, job: &CronJob) -> bool
Expand description

Whether caller may edit job’s definition: the operator, or the agent that created or owns it (§7). The agent a job messages may pause it, not rewrite it. A job with no creator (the operator’s, or one from before creators were recorded) is the operator’s to edit.