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

Add group information macro for users like $user.local_name$ #5295

Open
Crited opened this issue Nov 28, 2024 · 0 comments
Open

Add group information macro for users like $user.local_name$ #5295

Crited opened this issue Nov 28, 2024 · 0 comments

Comments

@Crited
Copy link
Member

Crited commented Nov 28, 2024

Is your feature request related to a problem? Please describe.

I'd like to make hosts visible to users based on the group they are part of. Similarly to user.local_name. Given the scenario that a variable like host.vars.contact_groups exists a filter like this would become possible:

host.vars.contact_groups[*]~$user.group_names$

E.g. icingadb/filter/objects

Describe the solution you'd like

Introduce user.group_names to be used in such a filter.

Additional context

Pretty much this for groups: https://icinga.com/docs/icinga-web/latest/doc/06-Security/#username-placeholder
This should also work with Active Directory/LDAP.

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

1 participant