Skip to content

Bug: multiple targets with the same names do not work until all the roles are attached to the user #1326

@Thunderbottom

Description

@Thunderbottom

WarpGate let's you add multiple targets under the same name, for example, an SSH target with the name app-1 and HTTP target app-1 can both exist at the same time. But it seems like adding targets with the same names requires administrators to attach roles for both, the SSH and HTTP target, to the user to make it work.

As an elaborate example to replicate this issue:

  1. Create an SSH target with the name app-1 and allow access from a role called app-ssh
  2. Create an HTTP target with the same name, app-1 and allow access from a role called app-web
  3. Attach the app-web to a user, and not app-ssh.
  4. The HTTP target does not show up for the user on the homepage, and is not accessible unless the app-ssh role is attached to the same user as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions