Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show servers selected by roles #939

Open
przemekjagielski opened this issue Jan 24, 2024 · 3 comments
Open

Show servers selected by roles #939

przemekjagielski opened this issue Jan 24, 2024 · 3 comments

Comments

@przemekjagielski
Copy link

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?

@Eugeny
Copy link
Member

Eugeny commented Jan 24, 2024

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.

@przemekjagielski
Copy link
Author

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.

@Eugeny
Copy link
Member

Eugeny commented Jan 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants