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 additional reasoning/requirements and suggestion for use to ES privileges #4197

Closed
wants to merge 10 commits into from

Conversation

conceptualshark
Copy link
Contributor

Description

Closes #3355

When should this change go live?

  • This is a bug fix, security concern, or something that needs urgent release support.
  • This is already available but undocumented and should be released within a week.
  • This on a specific schedule and the assignee will coordinate a release with the DevEx team. (apply hold label or convert to draft PR)
  • This is part of a scheduled alpha or minor. (apply alpha or minor label)
  • There is no urgency with this change and can be released at any time.

PR Checklist

  • My changes are for an already released minor and are in /versioned_docs directory.
  • My changes are for the next minor and are in /docs directory (aka /next/).

@conceptualshark conceptualshark requested review from romansmirnov and a team August 26, 2024 19:16
@conceptualshark conceptualshark self-assigned this Aug 27, 2024
@conceptualshark conceptualshark added the component:self-managed Docs and issues related to Camunda Platform 8 Self-Managed label Aug 27, 2024
@conceptualshark conceptualshark requested review from romansmirnov and removed request for romansmirnov September 5, 2024 19:24
@christinaausley
Copy link
Contributor

CC @romansmirnov for final review 👍

romansmirnov
romansmirnov previously approved these changes Oct 9, 2024
Copy link
Member

@romansmirnov romansmirnov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Content-wise it looks good, that's basically what I have summarized at some point in Slack. Just added two questions.

- `manage_index_templates` to create and manage index schema on start up, if they don't already exist in Elasticsearch.
- _Optional_ `manage_ilm` - required only when ILM is enabled
- `monitor` - Required to check the Elasticsearch cluster health. This privilege provides read-only cluster operations permissions.
- `manage_index_templates` - Creates the necessary index templates when Operate is started for the first time, or when updating to a newer version of Camunda 8. Once the index templates are created, you can stop Operate, remove this privilege, and then start Operate again.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ It explicitly mentions Operate, what about Tasklist (and Optimize)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've gone ahead and updated the file in /docs with a change to reference Operate, Tasklist, and Optimize (instead of only Operate). If this looks good I'll update it in the other files. 👍

- `manage_index_templates` - See [cluster privileges](#cluster-privileges).
- `manage_ilm` - _Required when index lifecycle management (ILM) is enabled._ See [cluster privileges](#cluster-privileges).

These privileges can be granted temporarily during an upgrade:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Just for context, why are we documenting this? If I remember correctly, I summarized that in the context of a customer request.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have context for the original ask, only the summary. Can you specify if these permissions should be removed, and if so, which ones in particular?

Copy link
Contributor

github-actions bot commented Oct 15, 2024

👋 🤖 ✅ Looks like the changes were ported across versions, nice job! 🎉

You can read more about the versioning within our docs in our documentation guidelines.

@camunda camunda deleted a comment from github-actions bot Dec 3, 2024
@camunda camunda deleted a comment from github-actions bot Dec 3, 2024
@camunda camunda deleted a comment from github-actions bot Dec 3, 2024
@camunda camunda deleted a comment from github-actions bot Dec 3, 2024
@camunda camunda deleted a comment from github-actions bot Dec 3, 2024
Comment on lines +253 to +255
axiosRef.defaults.headers[
"Authorization"
] = `Bearer ${credentials.access_token}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[prettier] reported by reviewdog 🐶

Suggested change
axiosRef.defaults.headers[
"Authorization"
] = `Bearer ${credentials.access_token}`;
axiosRef.defaults.headers["Authorization"] =
`Bearer ${credentials.access_token}`;

Comment on lines +253 to +255
axiosRef.defaults.headers[
"Authorization"
] = `Bearer ${credentials.access_token}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[prettier] reported by reviewdog 🐶

Suggested change
axiosRef.defaults.headers[
"Authorization"
] = `Bearer ${credentials.access_token}`;
axiosRef.defaults.headers["Authorization"] =
`Bearer ${credentials.access_token}`;

Comment on lines +253 to +255
axiosRef.defaults.headers[
"Authorization"
] = `Bearer ${credentials.access_token}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[prettier] reported by reviewdog 🐶

Suggested change
axiosRef.defaults.headers[
"Authorization"
] = `Bearer ${credentials.access_token}`;
axiosRef.defaults.headers["Authorization"] =
`Bearer ${credentials.access_token}`;

Comment on lines +253 to +255
axiosRef.defaults.headers[
"Authorization"
] = `Bearer ${credentials.access_token}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[prettier] reported by reviewdog 🐶

Suggested change
axiosRef.defaults.headers[
"Authorization"
] = `Bearer ${credentials.access_token}`;
axiosRef.defaults.headers["Authorization"] =
`Bearer ${credentials.access_token}`;

Comment on lines +253 to +255
axiosRef.defaults.headers[
"Authorization"
] = `Bearer ${credentials.access_token}`;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[prettier] reported by reviewdog 🐶

Suggested change
axiosRef.defaults.headers[
"Authorization"
] = `Bearer ${credentials.access_token}`;
axiosRef.defaults.headers["Authorization"] =
`Bearer ${credentials.access_token}`;

@conceptualshark
Copy link
Contributor Author

I can't seem to resolve git thinking these tasklist files need to be added - closing to bring up to date and continue in #4704

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:self-managed Docs and issues related to Camunda Platform 8 Self-Managed
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Improve documentation page on ES privileges
3 participants