mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Allow creating subuser with no permissions
This commit is contained in:
@@ -56,6 +56,8 @@ class PermissionCreationService
|
||||
}
|
||||
}
|
||||
|
||||
$this->repository->withoutFreshModel()->insert($insertPermissions);
|
||||
if (! empty($insertPermissions)) {
|
||||
$this->repository->withoutFreshModel()->insert($insertPermissions);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user