Skip to content

[Feature]: Configure Router with Guards #89

Description

@msaeedsaeedi

As a frontend engineer
I need to add guards to the router and connect routes through them
So that I can control access and flow logic

Details and Assumptions

  • Adds guards to the router, generating a "public" point and dotted lines.
  • API: NestJS handles guard configuration via /board/guards.
  • Database: Stores guards in the guards table.
  • Assumptions: User can add/remove guards via dropdown or drag.

Acceptance Criteria

Feature: Configure Router with Guards

Scenario: Add a guard
Given the user is logged in and on the Integration View
When the user adds a guard (e.g., "AuthGuard") to the router
Then a "public" point and dotted lines to other guards are generated
And routes can connect through guards

Implementation Notes

  • API endpoint: POST /board/guards to create a guard.
  • Database: Insert into guards table.
  • Additional notes: Use dropdown for guard selection, style with dotted lines.

Reference Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionality

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions