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

Introduce Admin users #276

Closed
zaychenko-sergei opened this issue Nov 14, 2023 · 0 comments · Fixed by #414
Closed

Introduce Admin users #276

zaychenko-sergei opened this issue Nov 14, 2023 · 0 comments · Fixed by #414
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@zaychenko-sergei
Copy link
Contributor

  • Core:
    • Extend AccountInfo structure with a boolean property (isAdmin)
    • Extend CurrentAccountSubject with a similar boolean property
  • OSO Authorizer:
    • Modeling admin property in user structure
    • Admin users should be able to read or write any dataset regardless of ownership, privacy details.
  • HTTP:
    • Support admin flag propagation in AuthenticationMiddleware
  • GraphQL:
    • Extend GraphQL API equivalent of AccountInfo structure
    • Introduce AdminGuard for GraphQL queries allowed only for admins
    • Create an API sketch for admin-specific functionality without implementation - just to check the guard works fine:
    • list all tasks in the system regardless of the dataset (new API)
  • CLI:
    • UsersConfig structure should hold optional isAdmin marker, false by default. It should define the built-in account’s data.
    • Support flag propagation in AccountService.
  • OAuth:
    • No GitHub-driven admins model at this stage. All users stay with current privileges.
@zaychenko-sergei zaychenko-sergei added the enhancement New feature or request label Nov 14, 2023
@sergiimk sergiimk added the good first issue Good for newcomers label Dec 20, 2023
@s373r s373r linked a pull request Jan 10, 2024 that will close this issue
@s373r s373r closed this as completed Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants