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

docs: add authorization and user management user guide #5282

Merged
merged 10 commits into from
Mar 21, 2025

Conversation

nicpuppa
Copy link
Contributor

@nicpuppa nicpuppa commented Mar 18, 2025

Description

This PR adds a user guide on how to create/delete an authorization and how to create/update/delete user

When should this change go live?

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

PR Checklist

  • My changes are for an upcoming minor release and:
    • are in the /docs directory (version 8.8).
    • are in the /versioned_docs/version-8.7/ directory (version 8.7).
  • My changes are for an already released minor and are in a /versioned_docs directory.

closes #5281

@nicpuppa nicpuppa added component:identity Issues related with Identity project component:docs Documentation improvements, including new or updated content component:self-managed Docs and issues related to Camunda Platform 8 Self-Managed deploy Stand up a temporary docs site with this PR labels Mar 18, 2025
@nicpuppa nicpuppa self-assigned this Mar 18, 2025
Copy link
Contributor

github-actions bot commented Mar 18, 2025

👋 🤖 🤔 Hello, @conceptualshark! Did you make your changes in all the right places?

These files were changed only in docs/. You might want to duplicate these changes in versioned_docs/version-8.6/.

  • docs/components/identity/authorization.md
  • docs/components/identity/identity-introduction.md
  • docs/components/identity/img/create-authorization-tab.png
  • docs/components/identity/img/create-user-tab.png
  • docs/components/identity/img/update-user-tab.png
  • docs/components/identity/user.md
  • docs/self-managed/identity/orchestration-identity/img/create-authorization-tab.png
  • docs/self-managed/identity/orchestration-identity/img/create-user-tab.png
  • docs/self-managed/identity/orchestration-identity/img/update-user-tab.png
  • docs/self-managed/identity/orchestration-identity/installation.md
  • docs/self-managed/identity/what-is-identity.md
These files were changed only in docs/. You might want to duplicate these changes in versioned_docs/version-8.7/.
  • docs/components/identity/authorization.md
  • docs/components/identity/identity-introduction.md
  • docs/components/identity/img/create-authorization-tab.png
  • docs/components/identity/img/create-user-tab.png
  • docs/components/identity/img/update-user-tab.png
  • docs/components/identity/user.md
  • docs/self-managed/identity/orchestration-identity/img/create-authorization-tab.png
  • docs/self-managed/identity/orchestration-identity/img/create-user-tab.png
  • docs/self-managed/identity/orchestration-identity/img/update-user-tab.png
  • docs/self-managed/identity/orchestration-identity/installation.md
  • docs/self-managed/identity/what-is-identity.md
These files were changed only in versioned_docs/version-8.7/. You might want to duplicate these changes in docs/.
  • versioned_docs/version-8.7/components/modeler/web-modeler/versions.md
These files were changed only in versioned_docs/version-8.7/. You might want to duplicate these changes in versioned_docs/version-8.6/.
  • versioned_docs/version-8.7/components/modeler/web-modeler/versions.md

You may have done this intentionally, but we wanted to point it out in case you didn't. You can read more about the versioning within our docs in our documentation guidelines.

@github-actions github-actions bot temporarily deployed to camunda-docs March 18, 2025 11:51 Destroyed
@nicpuppa nicpuppa marked this pull request as draft March 18, 2025 13:16
@nicpuppa nicpuppa changed the title docs: add authorization user guide docs: add authorization and user management user guide Mar 18, 2025
@akeller
Copy link
Member

akeller commented Mar 18, 2025

@nicpuppa this closes #5281, right? Or are you delivering incrementally?

@nicpuppa
Copy link
Contributor Author

nicpuppa commented Mar 18, 2025

@nicpuppa this closes #5281, right? Or are you delivering incrementally?

You are right, I plan to add both guide with this PR. I just changed the description adding the link to the issue @akeller

@nicpuppa nicpuppa marked this pull request as ready for review March 18, 2025 13:33
@github-actions github-actions bot temporarily deployed to camunda-docs March 18, 2025 13:41 Destroyed
Copy link
Contributor

@conceptualshark conceptualshark left a comment

Choose a reason for hiding this comment

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

I can do an editing pass over these, but my main question is whether or not this content will also apply in any way to (future) SaaS deployments?

If so we should probably move it out of the SM section and into Components, and make sure any content has this end state in mind.

@nicpuppa
Copy link
Contributor Author

It's a good point @conceptualshark, from my understanding this will apply also to SaaS. There is nothing related to the new Identity as far as I know in the SaaS documentation section

cc @ThorbenLindhauer

@ThorbenLindhauer
Copy link
Member

@nicpuppa we don't need to document user management specifically for SaaS, because we will always use OIDC (=> Auth0) for that. But we need to document how to work with authorizations because they apply in both cases.

@nicpuppa
Copy link
Contributor Author

nicpuppa commented Mar 18, 2025

What is the best approach here ? Move the authorization section outside the SM specific documentation ? Duplicate it in both ? I'm not sure @conceptualshark @ThorbenLindhauer

@conceptualshark
Copy link
Contributor

In my opinion, once we have Identity-related documentation outside of the Self-Managed section, we're making an implicit agreement that any Identity guides could be found there. In an 8.8 world, I don't think SM users should have to go into the SM docs, which is largely for configuration and deployment, to find a user guide - I think that only works now because Identity doesn't exist in SaaS.

I'd like to see both guides in Components, with a note where one doesn't apply to SaaS (and link to the eventual IdP guide, for example), but that's just a recommendation!

I am also not sure if this means building out a new Identity component section in Components, or if Product has any plans for/input on placement here? @FarkasRabai

@ThorbenLindhauer
Copy link
Member

I am also not sure if this means building out a new Identity component section in Components

Sounds meaningful to me. That makes it consistent with the docs structure for the other components and conceptually Identity is a webapp in the Orchestration Cluster like the other ones.

@github-actions github-actions bot temporarily deployed to camunda-docs March 18, 2025 16:49 Destroyed
@github-actions github-actions bot temporarily deployed to camunda-docs March 18, 2025 20:48 Destroyed
@conceptualshark
Copy link
Contributor

I've pushed a version here that builds a section in the Component docs instead, just to see how it feels. I left the older content so we can just remove whichever we end up not using.

I have a few questions that I don't think are quite relevant to the current state of Identity, but may impact how we want to position these docs overall:

  • How does (or will) the Console user guide change now that this will be handled in Identity? I assume Console will no longer handle some of these features, so at some point we'll need to pare down this guide. Where does the line between Identity's management and Console's management happen?

  • Similar question for the IdP page, though I know this isn't fully implemented yet. Would this guide need to move to the Identity component section, or is it still tied to Console?

  • We also have a Concepts section on access control, which I believe was originally considered for some "Identity and access control" docs to expand on concepts if the Identity section ends up not being needed.

It's not entirely clear for me yet how much SaaS will be aware of Identity, and which component will be handling these UI-based tasks. These likely don't all need addressing in this PR, but as we're addressing some structural docs changes, knowing the answers could help me better suggest an order.

For ease, we could always merge these guides as in the initial proposal, and answer some of these questions separately. 🙂

@nicpuppa
Copy link
Contributor Author

@conceptualshark I like the new section, I think we can remove the duplicated section under SM.

Related to your questions, I'm not sure if I'm able to answer, so I'll ping @Ben-Sheppard

@nicpuppa nicpuppa requested a review from FarkasRabai March 19, 2025 09:44
@Ben-Sheppard
Copy link
Contributor

Hey @conceptualshark and @nicpuppa

How does (or will) the Console user guide change now that this will be handled in Identity? I assume Console will no longer handle some of these features, so at some point we'll need to pare down this guide. Where does the line between Identity's management and Console's management happen?

It will change but honestly its difficult to say by how much (my expectation is greatly though), in SaaS there are three core flows that Management Identity is used for:

  1. Web Modeler creating authorizations for a user when a model is deployed
  2. Operate reading resource authorizations to filter data
  3. Tasklist reading groups of a user

2 and 3 will now be cluster based, 1 will have to change also as authorizations are shifting to the cluster - I don't know what the flow looks like there.

Where does the line between Identity's management and Console's management happen?

If it is anything to do with the cluster (with the exception of client credentials for now) its Identity, if its organizational, its Console.

Similar question for the IdP page, though I know this isn't fully implemented yet. Would this guide need to move to the Identity component section, or is it still tied to Console?

For now, this remains the same, we've had discussions about what this could look like in the future (configuring my cluster to talk to a specific IDP) but it will still be a Console level task IMO.

It's not entirely clear for me yet how much SaaS will be aware of Identity, and which component will be handling these UI-based tasks. These likely don't all need addressing in this PR, but as we're addressing some structural docs changes, knowing the answers could help me better suggest an order.

With 8.8 SaaS will be fully aware of Orchestration Identity, it will be a visible component that will offer the UI to handle the cluster management. As mentioned by @ThorbenLindhauer there I think are limited instances where a concept will only apply to SM and not SaaS (User management being one), but I would really like to remove that divide I think and just use a tag/note to say that User management is Self-managed only :)

@ThorbenLindhauer regarding:

Sounds meaningful to me. That makes it consistent with the docs structure for the other components and conceptually Identity is a webapp in the Orchestration Cluster like the other ones.

I was under the impression that we want to move away from the separated component approach is that not applicable/correct here? (Maybe something for @conceptualshark?)

Does that help? (I'll also review the PR shortly)

Copy link
Contributor

@Ben-Sheppard Ben-Sheppard left a comment

Choose a reason for hiding this comment

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

Its nice to see more content arriving for Identity! I've added some comments

@nicpuppa nicpuppa requested a review from Ben-Sheppard March 20, 2025 09:15
@github-actions github-actions bot temporarily deployed to camunda-docs March 20, 2025 09:24 Destroyed
Ben-Sheppard
Ben-Sheppard previously approved these changes Mar 20, 2025
Copy link
Contributor

@Ben-Sheppard Ben-Sheppard left a comment

Choose a reason for hiding this comment

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

Just one small comment from my side.

It would be good to also get @conceptualshark to have a pass over the changes to make sure they align with his vision for the docs

@github-actions github-actions bot temporarily deployed to camunda-docs March 20, 2025 12:26 Destroyed
Copy link
Contributor

@conceptualshark conceptualshark left a comment

Choose a reason for hiding this comment

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

I ran through and made a few updates (and took the opportunity to add some Optimize references) - this is in good shape to me! 👍 We can come back and improve things (add SaaS references, etc), as those updates are made available.

@github-actions github-actions bot temporarily deployed to camunda-docs March 20, 2025 18:26 Destroyed
@nicpuppa nicpuppa merged commit c16e503 into main Mar 21, 2025
8 checks passed
@nicpuppa nicpuppa deleted the np-authorization-user-guidelines branch March 21, 2025 07:38
Copy link
Contributor

🧹 Preview environment for this PR has been torn down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:docs Documentation improvements, including new or updated content component:identity Issues related with Identity project component:self-managed Docs and issues related to Camunda Platform 8 Self-Managed deploy Stand up a temporary docs site with this PR
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Authorization and User Management User Guide
6 participants