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

CSS-6774 rework auth model #1132

Merged

Conversation

kian99
Copy link
Contributor

@kian99 kian99 commented Jan 11, 2024

Description

This PR changes the auth model to remove service accounts from the places where it was mirroring users. Going forward service accounts, when authenticated will be created as identities within JIMM with the resource tag of user-. The reason the resource tag remains as user- instead of identity- is because Juju expects incoming users to have a tag of user- and our OpenFGA tags are coupled to Juju resource tags.

Partially addresses CSS-6774

Engineering checklist

Check only items that apply

  • Documentation updated
  • Covered by unit tests
  • Covered by integration tests

@kian99 kian99 marked this pull request as ready for review January 11, 2024 12:58
@kian99 kian99 changed the title CSS-6703 rework auth model CSS-6774 rework auth model Jan 15, 2024
Copy link
Collaborator

@alesstimec alesstimec left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@ale8k ale8k left a comment

Choose a reason for hiding this comment

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

lgtm

@kian99 kian99 merged commit f9b3ef0 into canonical:feature-serviceaccounts Jan 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants