mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 10:18:20 +00:00
feat(auth): refine authorization checks for S3 storage and service management
This commit is contained in:
1 parent
adb8f9d88e
commit
b5fe5dd909
4 files changed
+146
-100
No files matched your search
@@ -29,7 +29,7 @@ class S3StoragePolicy
|
||||
*/
|
||||
public function create(User $user): bool
|
||||
{
|
||||
return true;
|
||||
return $user->isAdmin();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user