Implement board columns and project workflow settings #7

Merged
Twyco merged 3 commits from codex/0.1-kanban-foundation/04-board-columns-and-project-workflow-settings into main 2026-03-26 20:53:14 +00:00
Owner
No description provided.
Eric reviewed 2026-03-25 20:18:12 +00:00
@@ -0,0 +39,4 @@
Project $project,
): RedirectResponse {
abort_unless(
$this->projectPermissionService->userCanManageProjectAccess($request->user(), $project),
Owner

Nochmal checken was in userCanMAnageProjectAccess steht, besser hier mit dem Guard

Nochmal checken was in userCanMAnageProjectAccess steht, besser hier mit dem Guard
Author
Owner

was meinst du mit (Nochmal checken was in userCanMAnageProjectAccess steht)?
Guard benutzen hab ich schon bei 03 documentiert

was meinst du mit (Nochmal checken was in userCanMAnageProjectAccess steht)? Guard benutzen hab ich schon bei 03 documentiert
@@ -0,0 +11,4 @@
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
Owner

auch besser admin?

auch besser admin?
Author
Owner

nein, man kann usern (nicht admins) rechte geben boards bearbeiten zu können:
deswgen im controller:
image.png

nein, man kann usern (nicht admins) rechte geben boards bearbeiten zu können: deswgen im controller: <img width="902" alt="image.png" src="attachments/afeba1fb-78e0-4772-aa40-347617523959">
124 KiB
Twyco marked this conversation as resolved
@@ -0,0 +11,4 @@
* Determine if the user is authorized to make this request.
*/
public function authorize(): bool
{
Owner

hier das gleiche?

hier das gleiche?
Author
Owner

siehe oben

siehe oben
Twyco marked this conversation as resolved
@@ -0,0 +5,4 @@
project_id: number;
created_at: string;
updated_at: string;
[key: string]: unknown;
Owner

kann raus

kann raus
Twyco marked this conversation as resolved
@@ -23,2 +24,4 @@
Route::patch('projects/{project}/permissions/teams/{team}', [ProjectController::class, 'updateTeamPermissions'])
->name('projects.permissions.teams.update');
Route::scopeBindings()->group(function (): void {
Owner

Was ist scopeBindings? Und eventuell Board Settings nur für Admins zugänglich machen?

Was ist scopeBindings? Und eventuell Board Settings nur für Admins zugänglich machen?
Author
Owner

nope selbe erklärung, es gibt ja extra permissions für user, damit nicht nur admins boards erstellen können.
Admin sind hier in dem fall komplette site adminisatratoren, die useraccounts bearbeiten können etc.

Boards erstellen soll ja auch einfach ein normaler user mit entsprechenden rechten

nope selbe erklärung, es gibt ja extra permissions für user, damit nicht nur admins boards erstellen können. Admin sind hier in dem fall komplette site adminisatratoren, die useraccounts bearbeiten können etc. Boards erstellen soll ja auch einfach ein normaler user mit entsprechenden rechten
Author
Owner

https://laravel.com/docs/13.x/routing#implicit-model-binding-scoping

automatische validierung, dass column related zu dem project ist

https://laravel.com/docs/13.x/routing#implicit-model-binding-scoping automatische validierung, dass column related zu dem project ist
Twyco marked this conversation as resolved
Twyco changed target branch from codex/0.1-kanban-foundation/03-project-memberships-teams-and-permission-model to main 2026-03-26 19:54:44 +00:00
Twyco added 1 commit 2026-03-26 19:54:44 +00:00
Twyco added 1 commit 2026-03-26 19:57:49 +00:00
Merge branch 'main' into codex/0.1-kanban-foundation/04-board-columns-and-project-workflow-settings
linter / quality (pull_request) Successful in 1m13s
tests / ci (8.4) (pull_request) Successful in 1m14s
5a723b1940
Twyco added 1 commit 2026-03-26 20:52:07 +00:00
small codestyle fixes
linter / quality (pull_request) Successful in 1m15s
tests / ci (8.4) (pull_request) Successful in 1m11s
23954e9653
Author
Owner

@Eric diese Changes habe ich gemacht Commit: 23954e9653

@Eric diese Changes habe ich gemacht Commit: https://git.twyco.de/OpenSource/KanbanGit/commit/23954e9653707860de7542356a54e603907b1bb0
Twyco merged commit 6394912791 into main 2026-03-26 20:53:14 +00:00
Twyco deleted branch codex/0.1-kanban-foundation/04-board-columns-and-project-workflow-settings 2026-03-26 20:53:20 +00:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: PetschStudios/KanbanGit#7