warpgate icon indicating copy to clipboard operation
warpgate copied to clipboard

Show servers selected by roles

Open przemekjagielski opened this issue 1 year ago • 3 comments

In our organization, we need to display servers by sorting them by roles. Are you planning to implement such a function? If so, when, if not, how am I able to correlate the current records in the database to do this manually?

przemekjagielski avatar Jan 24 '24 14:01 przemekjagielski

Grouping by a role seems a bit narrow to me (what if you're allowed to access a server through multiple roles?), but I'm planning to add simple grouping.

If you're going to be looking at the database directly, the connection is through the Target <> TargetRoleAssignment <> Role <> UserRoleAssignment <> User models.

Eugeny avatar Jan 24 '24 14:01 Eugeny

Okay, would you be able to quickly query the database to remove specific hosts from specific groups? Currently, when I try to search for a specific hash, it returns empty results, even though the hash exists.

przemekjagielski avatar Jan 24 '24 15:01 przemekjagielski

Not sure what you mean by a hash. The database is there, you can just remove entries from it as you please.

Eugeny avatar Jan 24 '24 17:01 Eugeny