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

SLO roles privileges changed #4300

Merged
merged 9 commits into from
Oct 16, 2024
Merged

Conversation

eedugon
Copy link
Contributor

@eedugon eedugon commented Sep 25, 2024

Description

As described at #4229 in 8.16 the SLO permissions have changed, and also the builtin editor role is an option to grant privileges for SLOs.

This PR updates the slo-privileges.asciidoc and its associated images.
It also adds a minor change in serverless doc, as the required role to create SLOs is Editor and not Admin.

Documentation sets edited in this PR

Check all that apply.

  • Stateful (docs/en/observability/*)
  • Serverless (docs/en/serverless/*)
  • Integrations Developer Guide (docs/en/integrations/*)
  • None of the above

Related issue

Closes #4229

Checklist

  • Product/Engineering Review
  • Writer Review

Follow-up tasks

Select one.

  • This PR does not need to be ported to another doc set because:
    • The concepts in this PR only apply to one doc set (serverless or stateful)
    • The PR contains edits to both doc sets (serverless and stateful)
  • This PR needs to be ported to another doc set:
    • Port to stateful docs: <link to PR or tracking issue>
    • Port to serverless docs: <link to PR or tracking issue>

@eedugon eedugon requested a review from a team as a code owner September 25, 2024 13:57
Copy link
Contributor

A documentation preview will be available soon.

Request a new doc build by commenting
  • Rebuild this PR: run docs-build
  • Rebuild this PR and all Elastic docs: run docs-build rebuild

run docs-build is much faster than run docs-build rebuild. A rebuild should only be needed in rare situations.

If your PR continues to fail for an unknown reason, the doc build pipeline may be broken. Elastic employees can check the pipeline status here.

Copy link
Contributor

mergify bot commented Sep 25, 2024

This pull request does not have a backport label. Could you fix it @eedugon? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-/d./d is the label to automatically backport to the /d./d branch. /d is the digit
    NOTE: backport-skip has been added to this pull request.

@mergify mergify bot added the backport-skip Skip notification from the automated backport with mergify label Sep 25, 2024
@eedugon eedugon changed the title [WIP] SLO roles privileges changed SLO roles privileges changed Sep 26, 2024
@eedugon
Copy link
Contributor Author

eedugon commented Sep 26, 2024

Thanks @bmorelli25 for your comments and suggestions here!

dominiqueclarke
dominiqueclarke previously approved these changes Oct 9, 2024
Copy link
Contributor

@dominiqueclarke dominiqueclarke left a comment

Choose a reason for hiding this comment

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

LGTM

alaudazzi
alaudazzi previously approved these changes Oct 14, 2024
Copy link
Contributor

@alaudazzi alaudazzi left a comment

Choose a reason for hiding this comment

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

I left a few minor editing suggestions, otherwise LGTM.

docs/en/observability/slo-privileges.asciidoc Outdated Show resolved Hide resolved
docs/en/observability/slo-privileges.asciidoc Outdated Show resolved Hide resolved
docs/en/observability/slo-privileges.asciidoc Outdated Show resolved Hide resolved
Co-authored-by: Arianna Laudazzi <[email protected]>
eedugon and others added 2 commits October 14, 2024 13:31
Co-authored-by: Arianna Laudazzi <[email protected]>
change see by check

Co-authored-by: Arianna Laudazzi <[email protected]>
@@ -9,7 +9,7 @@ tags: [ 'serverless', 'observability', 'how-to' ]

import Roles from '../partials/roles.mdx'

<Roles role="Admin" goal="create SLOs" />
<Roles role="Editor" goal="create SLOs" />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dominiqueclarke : I have updated the serverless doc as mentioned in #4229

Copy link
Contributor

@alaudazzi alaudazzi left a comment

Choose a reason for hiding this comment

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

LGTM

@eedugon eedugon added backport-8.x Automated backport to the 8.x branch with mergify and removed backport-skip Skip notification from the automated backport with mergify labels Oct 16, 2024
@eedugon eedugon merged commit bb910be into elastic:main Oct 16, 2024
8 checks passed
@eedugon eedugon deleted the eedugon/slo_privileges_816 branch October 16, 2024 16:15
mergify bot pushed a commit that referenced this pull request Oct 16, 2024
* SLO roles privileges changed to match 8.16 release

* editor builtin role information added

* wording and order of privileges options changed

* minor wording changes

* serverless required role updated

* rephrasing permissions

Co-authored-by: Arianna Laudazzi <[email protected]>

* removing future tense

Co-authored-by: Arianna Laudazzi <[email protected]>

* Update docs/en/observability/slo-privileges.asciidoc

change see by check

Co-authored-by: Arianna Laudazzi <[email protected]>

---------

Co-authored-by: Arianna Laudazzi <[email protected]>
(cherry picked from commit bb910be)

# Conflicts:
#	docs/en/serverless/slos/create-an-slo.mdx
bmorelli25 pushed a commit that referenced this pull request Oct 18, 2024
* SLO roles privileges changed (#4300)

* SLO roles privileges changed to match 8.16 release

* editor builtin role information added

* wording and order of privileges options changed

* minor wording changes

* serverless required role updated

* rephrasing permissions

Co-authored-by: Arianna Laudazzi <[email protected]>

* removing future tense

Co-authored-by: Arianna Laudazzi <[email protected]>

* Update docs/en/observability/slo-privileges.asciidoc

change see by check

Co-authored-by: Arianna Laudazzi <[email protected]>

---------

Co-authored-by: Arianna Laudazzi <[email protected]>
(cherry picked from commit bb910be)

# Conflicts:
#	docs/en/serverless/slos/create-an-slo.mdx

* Delete docs/en/serverless directory

---------

Co-authored-by: Edu González de la Herrán <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@eedugon
Copy link
Contributor Author

eedugon commented Nov 7, 2024

quick question here @alaudazzi and @bmorelli25 : do we need a backport to 8.16 here or was this unneeded at that time?

@eedugon
Copy link
Contributor Author

eedugon commented Nov 7, 2024

I think it does, I don't find the commit of this PR in 8.16 and I'm able to find it in main and 8.x.... creating the backport now...

@eedugon eedugon added the backport-8.16 Automated backport with mergify label Nov 7, 2024
mergify bot pushed a commit that referenced this pull request Nov 7, 2024
* SLO roles privileges changed to match 8.16 release

* editor builtin role information added

* wording and order of privileges options changed

* minor wording changes

* serverless required role updated

* rephrasing permissions

Co-authored-by: Arianna Laudazzi <[email protected]>

* removing future tense

Co-authored-by: Arianna Laudazzi <[email protected]>

* Update docs/en/observability/slo-privileges.asciidoc

change see by check

Co-authored-by: Arianna Laudazzi <[email protected]>

---------

Co-authored-by: Arianna Laudazzi <[email protected]>
(cherry picked from commit bb910be)

# Conflicts:
#	docs/en/serverless/slos/create-an-slo.mdx
bmorelli25 pushed a commit that referenced this pull request Nov 7, 2024
* SLO roles privileges changed (#4300)

* SLO roles privileges changed to match 8.16 release

* editor builtin role information added

* wording and order of privileges options changed

* minor wording changes

* serverless required role updated

* rephrasing permissions

Co-authored-by: Arianna Laudazzi <[email protected]>

* removing future tense

Co-authored-by: Arianna Laudazzi <[email protected]>

* Update docs/en/observability/slo-privileges.asciidoc

change see by check

Co-authored-by: Arianna Laudazzi <[email protected]>

---------

Co-authored-by: Arianna Laudazzi <[email protected]>
(cherry picked from commit bb910be)

# Conflicts:
#	docs/en/serverless/slos/create-an-slo.mdx

* Delete docs/en/serverless directory

---------

Co-authored-by: Edu González de la Herrán <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8.x Automated backport to the 8.x branch with mergify backport-8.16 Automated backport with mergify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Request]: [SLOs] Update SLO privilege model docs
3 participants