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

Add ability to configure base ModuleRole for Organizations #119

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

nicksnyder
Copy link
Member

@nicksnyder nicksnyder commented Jun 6, 2024

We want to update the BSR web app to be able to configure the base role at creation time but the current v1 APIs don't support setting/changing this, so the current web UI is implemented by using v1 RPC to create and organization, and then an alpha API to immediately set the base role. It would be ideal if we could update the v1 API to support setting the base role at creation time.

This PR is to start a discussion about if/how we want to represent roles in the organization API. It is ok if the conclusion is we want to defer thinking about this until we think about roles more holistically.

Copy link

github-actions bot commented Jun 6, 2024

The latest Buf updates on your PR.

NameStatus
build✅ passed
lint✅ passed
format✅ passed
breaking✅ passed

@@ -72,6 +79,21 @@ enum OrganizationVerificationStatus {
ORGANIZATION_VERIFICATION_STATUS_OFFICIAL = 3;
}

// An access role to a module.
enum ModuleRole {
Copy link
Member Author

Choose a reason for hiding this comment

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

Should this type belong in buf.registry.module instead of buf.registry.organization?

@nicksnyder nicksnyder requested a review from bufdev June 6, 2024 23:55
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.

1 participant