-
Notifications
You must be signed in to change notification settings - Fork 33
feat: 🎸 Add scope options component #3092
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
base: llb/app-tokens
Are you sure you want to change the base?
feat: 🎸 Add scope options component #3092
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
… of https://github.com/hashicorp/boundary-ui into ICU-18128-ui-create-component-permission-scope-options
cameronperera
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments but overall looks great!
| help: You can create aliases for this target that will make it easier to reach. Users must have access to this project to use aliases. | ||
| app-token: | ||
| title_plural: App Tokens | ||
| form: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
non-blocking: With the plan to use this component for the scopes in a role, should we move these translations to the form translation file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a good idea! thank u!
| if (this.args.model.scope.isGlobal) { | ||
| return 'Global'; | ||
| } | ||
| return this.args.model.scope.name ?? this.args.model.scope.id; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be able to use the displayName getter here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh yup good catch!
…ission-scope-options
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-18128
Description
Create scope options component that will be used for app-tokens and roles.
Screenshots (if appropriate)
Screen.Recording.2025-11-25.at.11.32.06.AM.mov
How to Test
Verify component works as expected by using unit test cases for the component.
Example usage:

Checklist
a11y-testslabel to run a11y audit tests if neededPCI review checklist
Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.