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

[Security GenAI] AI Assistants settings page in Stack Management not available for user with custom role #182209

Closed
peluja1012 opened this issue May 1, 2024 · 1 comment · Fixed by #182322
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:Security Generative AI Security Generative AI Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. triage_needed

Comments

@peluja1012
Copy link
Contributor

Describe the bug:
AI Assistants settings page under Stack Management is not available for user created with custom role.

Kibana/Elasticsearch Stack version:
v 8.14.0-SNAPSHOT 04/30/2024

Steps to reproduce:

  1. Create a user with a custom role. Define space privileges like this:
    image
  2. Logged in as a user with that role, Navigate to Stack Management
  3. Notice that AI Assistants menu item is not available under Stack Management -> Kibana
    image
@peluja1012 peluja1012 added bug Fixes for quality problems that affect the customer experience triage_needed Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Security Generative AI Security Generative AI labels May 1, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@YulNaumenko YulNaumenko self-assigned this May 1, 2024
YulNaumenko added a commit that referenced this issue May 2, 2024
…user role (#182322)

Resolves #182209

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
kibanamachine pushed a commit to kibanamachine/kibana that referenced this issue May 2, 2024
…user role (elastic#182322)

Resolves elastic#182209

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 9d7dfea)
kibanamachine added a commit that referenced this issue May 2, 2024
…n-superuser role (#182322) (#182528)

# Backport

This will backport the following commits from `main` to `8.14`:
- [[Security Solution] Fix assistant settings availability for
non-superuser role
(#182322)](#182322)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Yuliia
Naumenko","email":"jo.naumenko@gmail.com"},"sourceCommit":{"committedDate":"2024-05-02T21:44:23Z","message":"[Security
Solution] Fix assistant settings availability for non-superuser role
(#182322)\n\nResolves #182209\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9d7dfeac2fe00ca52398f78e7a7d62b10dd4cfa4","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v8.14.0","v8.15.0"],"title":"[Security
Solution] Fix assistant settings availability for non-superuser
role","number":182322,"url":"https://github.com/elastic/kibana/pull/182322","mergeCommit":{"message":"[Security
Solution] Fix assistant settings availability for non-superuser role
(#182322)\n\nResolves #182209\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9d7dfeac2fe00ca52398f78e7a7d62b10dd4cfa4"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/182322","number":182322,"mergeCommit":{"message":"[Security
Solution] Fix assistant settings availability for non-superuser role
(#182322)\n\nResolves #182209\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9d7dfeac2fe00ca52398f78e7a7d62b10dd4cfa4"}}]}]
BACKPORT-->

Co-authored-by: Yuliia Naumenko <jo.naumenko@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Security Generative AI Security Generative AI Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. triage_needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants