-
Notifications
You must be signed in to change notification settings - Fork 192
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
[BUG]: Missing context of delete comment under cases sub-future. #2410
Comments
@jonathan-buttner can users be given privs to delete case comments only? Or, are they only able to delete case comments Also, moving forward, will the cc: @lcawl |
According to the current docs, the prerequisites for the delete comments and delete cases are the same. My preference would be for these reference pages to be the source of truth rather than going into that level of detail in the Security, Observability, and Stack Management prerequisite overviews. |
No, you can't give users privileges to only delete case comments. Once they are given deletion privileges they can delete all entities within cases (most notably cases and comments).
Users can delete case entities if they have the deletion sub feature privilege granted to them. Theoretically it'd be possible for them to only have deletion privileges (even if they have no read access, they'd have to create the role through the core security APIs directly though) and they'd be able to delete cases and comments through the cases APIs. |
Thanks @jonathan-buttner and @lcawl! @lcawl I agree that the case API docs can be the source of truth and provide more granular details about the access privs provide. |
I ultimately added mention of the ability to delete comments and alerts in the setup docs via elastic/observability-docs#2333 and #2678 |
Description:
Missing context of delete comment under cases sub-future.
URL:
https://www.elastic.co/guide/en/security/current/case-permissions.html
Expected:
Screenshot:
The text was updated successfully, but these errors were encountered: