Add workspace update functionality (#699)

* Add workspace update functionality

* Refactor workspace settings header layout and edit button styling

* Update workspace route and API endpoint to use root path

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
Chirag Chhatrala
2025-02-12 18:13:55 +05:30
committed by GitHub
parent 1f9a1f835f
commit aae28d09cc
5 changed files with 95 additions and 21 deletions

View File

@@ -50,7 +50,7 @@ class WorkspacePolicy
*/
public function update(User $user, Workspace $workspace)
{
return false;
return $user->ownsWorkspace($workspace);
}
/**