Commit workspace changes

This commit is contained in:
2026-04-05 19:42:33 +02:00
parent 148a3bbe43
commit 08ad757bcb
312 changed files with 35149 additions and 399 deletions

View File

@@ -43,6 +43,10 @@ class CollectionPolicy
public function delete(User $user, Collection $collection): bool
{
if ((int) ($collection->group_id ?? 0) > 0) {
return $collection->group?->canManageCollections($user) ?? false;
}
return $collection->isOwnedBy($user);
}