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

[Diagram] Service account creation during extension installation #2666

Closed
Tracked by #2596
stephen-crawford opened this issue Apr 10, 2023 · 0 comments
Closed
Tracked by #2596
Assignees
Labels
triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable.

Comments

@stephen-crawford
Copy link
Contributor

stephen-crawford commented Apr 10, 2023

  1. Flow chart of: Extension registration during installation
flowchart TD
    A[Core] -->|Fetch all extensions| B(ExtensionManager)
    B --> | For each extension read the configuration file| C(Core ServiceAccountManager)
    C --> | Send parsed information to Security| D(Security Plugin)
    D -->| Read information and create a new service account | E(InternalUsersStorage)
    E --> | Generate a password for the service account and store the hash | E(InternalUsersStorage)
    E --> | Return success or failure message to core alongside password | A
    A --> | Add password to extension configuration file | A
Loading
  1. Sequence diagram of: Extension registration during installation
sequenceDiagram
title: Service Account Creation Sequence

participant A as Core
participant B as ExtensionManager
participant C as ServiceAccountManager
participant D as SecurityPlugin
participant E as InternalUsersStorage

A->B: Fetch all extensions
B->C: For each extension read the configuration file
C->D: Send parsed information to Security
D->E: Read information and create a new service account
E->E: Generate a password for the service account and store the hash
E->A: Return success or failure message to core alongside password
A->A: Add password to extension configuration file
Loading
@stephen-crawford stephen-crawford converted this from a draft issue Apr 10, 2023
@stephen-crawford stephen-crawford self-assigned this Apr 10, 2023
@stephen-crawford stephen-crawford changed the title [Diagram] Service account activity during extension installation [Diagram] Service account creation during extension installation Apr 10, 2023
@github-actions github-actions bot added the untriaged Require the attention of the repository maintainers and may need to be prioritized label Apr 10, 2023
@stephen-crawford stephen-crawford added triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable. and removed untriaged Require the attention of the repository maintainers and may need to be prioritized labels Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triaged Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
Projects
Status: Done
Development

No branches or pull requests

2 participants