Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DNM: example PR to show how to add a new RBAC resource#14055

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
johnstcn wants to merge20 commits intomainfromcj/howto-add-rbac-frobulation

Conversation

johnstcn
Copy link
Member

@johnstcnjohnstcn commentedJul 30, 2024
edited by dannykopping
Loading

  1. Incoderd/rbac/policy/policy.go, add your resources and action definitions.
  2. Runmake gen to generatecodersdk/rbacresources_gen.go
  3. Update roles incoderd/rbac/roles.go and ensure tests incoderd/rbac pass
  4. Add database tables & authorization
  5. Add API routes & authorization
  6. Add tests

@alwaysmeticulousalwaysmeticulous

This comment was marked as outdated.

@johnstcnjohnstcn marked this pull request as draftJuly 30, 2024 10:04
@dannykoppingdannykoppingforce-pushed thecj/howto-add-rbac-frobulation branch 2 times, most recently frome24c3fb toac6f3fdCompareJuly 31, 2024 11:54
Signed-off-by: Danny Kopping <danny@coder.com>
@dannykoppingdannykoppingforce-pushed thecj/howto-add-rbac-frobulation branch fromac6f3fd to7e86229CompareJuly 31, 2024 12:22
Signed-off-by: Danny Kopping <danny@coder.com>
@github-actionsgithub-actionsbot added the staleThis issue is like stale bread. labelAug 9, 2024
…dd-rbac-frobulationSigned-off-by: Danny Kopping <danny@coder.com>
@dannykoppingdannykopping removed the staleThis issue is like stale bread. labelAug 19, 2024
@github-actionsgithub-actionsbot added the staleThis issue is like stale bread. labelAug 27, 2024
@github-actionsgithub-actionsbot removed the staleThis issue is like stale bread. labelSep 4, 2024
Signed-off-by: Danny Kopping <danny@coder.com>
@dannykoppingdannykoppingforce-pushed thecj/howto-add-rbac-frobulation branch fromaf5ddb1 tocf9df67CompareSeptember 5, 2024 12:05
Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
Signed-off-by: Danny Kopping <danny@coder.com>
johnstcnand others added2 commitsSeptember 9, 2024 08:23
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
@johnstcnjohnstcn requested a review fromEmyrkSeptember 9, 2024 08:28
Copy link
Member

@EmyrkEmyrk left a comment
edited
Loading

Choose a reason for hiding this comment

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

👍

All LG! Do not actually merge though!

@johnstcn
Copy link
MemberAuthor

Thanks@Emyrk@dannykopping ! Closing this out.

@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsSep 10, 2024
@github-actionsgithub-actionsbot deleted the cj/howto-add-rbac-frobulation branchMarch 11, 2025 00:07
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

Assignees

@johnstcnjohnstcn

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@johnstcn@Emyrk@dannykopping

[8]ページ先頭

©2009-2025 Movatter.jp