-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
triagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
Description
NOTE: This diagram occurs after the successful retrieval of the extension's auth token during #2664.
- Flow chart of: Extension tries to execute a request using its auth token
flowchart TD
A[Extension_1] -->|Operation Request| B(Core)
B --> | Forward to Security Plugin | C(Security plugin)
C --> | parse auth token and evaluate privilegs| D(PrivilegesEvaluator)
D -->| return 200 or 403| B
B --> | if allowed | E(ExecuteRequest)
B --> | if not allowed return 403 | A
E --> | success or failure | B
B --> | if success return 200 | A
B --> | if failure return failure code | A
- Sequence diagram of: Extension tries to execute a request using its auth token
sequenceDiagram
participant A as Extension_1
participant B as Core
participant C as Security plugin
participant D as PrivilegesEvaluator
participant E as ExecuteRequest
A->>B: Operation Request
B->>C: Forward to Security Plugin
C->>D: parse auth token and evaluate privileges
D->>B: return 200 or 403
alt allowed
B->>E: ExecuteRequest
E->>B: success, failure
alt success
B->>A: if success return 200
else failure
B->>A: if failure return failure code
end
else not allowed
B->>A: if not allowed return 403
end
Metadata
Metadata
Assignees
Labels
triagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.Issues labeled as 'Triaged' have been reviewed and are deemed actionable.
Type
Projects
Status
Done