Skip to main content

refuse_shared_create

Function refuse_shared_create 

Source
pub fn refuse_shared_create(
    kind: &'static str,
    own_verb: &'static str,
) -> impl KindHook
Expand description

Refuse shared creation of a kind whose specialized writer owns its creation contract. Delegate only prepare_create when the owning hook also guards updates or proposals.