Skip to content

Redirect unauthorized users from application creation and align /check-name behavior #6110

@cstns

Description

@cstns

Description

Context / Problem
Users without team-level permission to create an application can access the application creation form. They should be redirected instead. Additionally, the /check-name endpoint must consider both team and application contexts when checking instance names during application creation to avoid false negatives for users lacking proper rights.

Acceptance criteria

  • Users without team permissions to create an application are redirected when accessing the application creation form.
  • Direct URL access to the form results in a redirect to an authorized location with an appropriate message.
  • Front end prevents navigation to the application creation form if permissions are missing.
  • /check-name verifies both team and application context when invoked during creation.
  • Tests cover redirect logic, correct authorization responses, and accurate /check-name validation for authorized vs unauthorized users.

Epic/Story

No response

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Metadata

Metadata

Assignees

No one assigned

    Labels

    taskA piece of work that isn't necessarily tied to a specific Epic or Story.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions