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:
@@ -50,7 +50,7 @@ class WorkspacePolicy
|
||||
*/
|
||||
public function update(User $user, Workspace $workspace)
|
||||
{
|
||||
return false;
|
||||
return $user->ownsWorkspace($workspace);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user