21
21
// that it should wait for hosted models to be completely cleaned up
23
23
func (s *ControllerAPI) DestroyController(args params.DestroyControllerArgs) error {
24
hasPermission, err := s.authorizer.HasPermission(description.SuperuserAccess, s.state.ControllerTag())
24
hasPermission, err := s.authorizer.HasPermission(permission.SuperuserAccess, s.state.ControllerTag())