junobuild_shared::controllers

Function init_controllers

Source
pub fn init_controllers(new_controllers: &[UserId]) -> Controllers
Expand description

Initializes a set of controllers with default administrative scope.

§Arguments

  • new_controllers: Slice of UserId representing the new controllers to be initialized.

§Returns

A Controllers collection populated with the specified new controllers.