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

Agents section is not shown when authorized agents are specified using only group ID #2933

Closed
s-ocando opened this issue Feb 4, 2021 · 1 comment
Assignees
Labels
type/bug Bug issue

Comments

@s-ocando
Copy link
Contributor

s-ocando commented Feb 4, 2021

Wazuh Elastic Rev
4.1.0 7.10.0 4101-1

Description

In this example, a user is allowed to read agents from GroupA but the agents section is not displayed. If at least one more agent is added to the allowed agents list using an ID instead of a group then this section is displayed and includes the newly added agent (006 in this example) and the agents from GroupA.

output

@Desvelao
Copy link
Member

Desvelao commented Feb 4, 2021

This section only could be acceded with the agent:id action permission.

I fixed it to access with agent:group resource permission too.

PR: #2941

@Desvelao Desvelao closed this as completed Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue
Projects
None yet
Development

No branches or pull requests

3 participants