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

feat: remove tags from UserAccess #18132

Merged
merged 2 commits into from
Sep 24, 2024
Merged

Conversation

Aflynn50
Copy link
Contributor

@Aflynn50 Aflynn50 commented Sep 23, 2024

As part of the effort to remove tags from the domain, remove them from
the UserAccess struct and fix all the call sites to generate them if
needed.

As a flyby:
fix: use ReadAccessLevelForTarget
There was a call getting more info that it needed, it only wanted
the user access level. Change it and change the errors it looks for to
match.

Checklist

  • Code style: imports ordered, good names, simple structure, etc
  • Comments saying why design decisions were made
  • Go unit tests, with comments saying what you're testing
  • Integration tests, with comments saying what you're testing

QA steps

cd tests
./main.sh -v user

Links

Jira card: JUJU-5416

There was a call here getting more info that it needed, it only wanted
the user access level. Change it and change the errors it looks for to
match.
As part of the effort to remove tags from the domain, remove them from
the UserAccess struct and fix all the call sites to generate them if
needed.
Copy link
Member

@SimonRichardson SimonRichardson left a comment

Choose a reason for hiding this comment

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

Code looks good.

@Aflynn50
Copy link
Contributor Author

/merge

@jujubot jujubot merged commit 5427a79 into juju:main Sep 24, 2024
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants