Skip to content

Add the new access verb use to web user context#24463

Merged
kimlisa merged 3 commits intomasterfrom
lisa/add-use-verb-user-context
Apr 14, 2023
Merged

Add the new access verb use to web user context#24463
kimlisa merged 3 commits intomasterfrom
lisa/add-use-verb-user-context

Conversation

@kimlisa
Copy link
Copy Markdown
Contributor

@kimlisa kimlisa commented Apr 12, 2023

part of #22129

merged PR #24133, adds a new access verb use

Copy link
Copy Markdown
Contributor

@marcoandredinis marcoandredinis left a comment

Choose a reason for hiding this comment

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

LGTM

@kimlisa kimlisa enabled auto-merge April 13, 2023 08:31
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is there any way we could add use only to the relevant resource? #24133 adds this verb in the first place but even then, it seems to add it only for integrations and not every resource.

types.NewRule(types.KindIntegration, append(RW(), types.VerbUse)),

I feel like down the line it might be confusing as to why every resource has the use verb defined even though it's not used for that particular resource. I'm basing this on seeing the changes that were made in user.test.ts.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i think that's a good suggestion: 4b3cf20

@kimlisa kimlisa force-pushed the lisa/add-use-verb-user-context branch 3 times, most recently from 68ba6f5 to 4b3cf20 Compare April 13, 2023 16:16
@kimlisa kimlisa requested a review from ravicious April 13, 2023 16:17
@kimlisa kimlisa force-pushed the lisa/add-use-verb-user-context branch from 4b3cf20 to 03ebeb9 Compare April 14, 2023 15:48
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from rudream April 14, 2023 15:49
@kimlisa kimlisa added this pull request to the merge queue Apr 14, 2023
Merged via the queue into master with commit 46c05b3 Apr 14, 2023
@kimlisa kimlisa deleted the lisa/add-use-verb-user-context branch April 14, 2023 16:21
kimlisa added a commit that referenced this pull request May 2, 2023
* BE: Add field for verb use for user ACL

* FE: Add the new use access verb

* Only define use verb for relevant resources
kimlisa added a commit that referenced this pull request May 3, 2023
* Add integration access rule to web user context (#24256)

* Add the new access verb `use` to web user context (#24463)

* BE: Add field for verb use for user ACL

* FE: Add the new use access verb

* Only define use verb for relevant resources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants