-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[RAC][Observability] Overflow options "mark as acknowledged" and "closed selected" don't appear in all rows #109619
Comments
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
There was a merged PR #109759 that most probably fixes this issue. |
@stephmilovic I am logged in with a kibana_system user and here are the permissions I have. Below I have a screenshot as well. Could you verify that everything works as expected?
The 2nd alert (apm rule type) in my screenshot below has the crud options disabled. Is it because Regarding the other alerts (log and metric rule types) in the above json I sent where can I see that this user has write permissions for these rule types? I am trying to understand if everything works as expected based on the role of the current user. |
@mgiota I think that you got it because you do not have the kibana |
@XavierM Ok you are saying you use Kibana privileges for |
@XavierM Can you point me to that sub feature you mentioned that is independent of the kibana privileges? |
I started reading this and then I got too confused and scared and figured I need more context. Can someone walk me through what this problem was and how we are fixing it tomorrow? |
@jasonrhodes I just read this message. I had to come back to this to verify which fields are needed for implementing RBAC. We need consumer and I need to verify if producer is needed as well. In this PR it looks like producer is being used to determine alert permissions. I can walk you through this and you can give me a bit more context on your current knowledge regarding consumers and producers. Shall we discuss it tomorrow in our sync up call? |
📝 Summary
There is some logic that determines when the workflow status related actions should appear. This logic needs to be clearly defined so that we can determine if the appearance or not of these options is because of a bug or because of some logic we are not aware of.
https://user-images.githubusercontent.com/2852703/130520934-b91bc272-a4a4-4708-95c3-6a955c4ffc07.mov
UPDATE
It turns out there were 2 different types of problems here:
Mark as Acknowledged
andClosed
options✔️ Acceptance criteria
Given
user hasAll
Kibana privilegesAnd
he has created a rule of any type (logs, metrics, uptime, apm) throughStack Management
When
an alert firesThen
the status actionsMark as Acknowledged
andClosed
options should appear in the overflow menuGiven
user hasRead
Kibana privileges for APMWhen
an APM alert firesThen
the status actionsMark as Acknowledged
andClosed
options should not appear in the overflow menu for this alertGiven
user hasRead
Kibana privileges for Logs | Metrics | UptimeWhen
an alert of the respective rule type firesThen
the status actionsMark as Acknowledged
andClosed
options should not appear in the overflow menu for this alertThe text was updated successfully, but these errors were encountered: