feat(acl): Change views/backend code to able to use proper ACL's later on. Currently it is not enabled.

This commit is contained in:
Andras Bacsai committed 2025-08-26 10:27:38 +02:00
1 parent 5a88377a67
commit 63fcc0ebc3
159 files changed
+3610 -1922

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ class Index extends Component
$this->private_keys = PrivateKey::ownedByCurrentTeam()->get();
$this->projects = Project::ownedByCurrentTeam()->get()->map(function ($project) {
$project->settingsRoute = route('project.edit', ['project_uuid' => $project->uuid]);
$project->canUpdate = auth()->user()->can('update', $project);
return $project;
});