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

Allow calls to GetOrganization if the org has public projects #6174

Merged
merged 1 commit into from
Dec 2, 2024

Conversation

begelundmuller
Copy link
Contributor

No description provided.

@@ -933,12 +943,17 @@ func organizationToDTO(o *database.Organization) *adminv1.Organization {
OutstandingInvites: int32(o.QuotaOutstandingInvites),
Copy link
Collaborator

@AdityaHegde AdityaHegde Nov 27, 2024

Choose a reason for hiding this comment

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

Should quotas be privileged as well? It does expose what the plan the org could be on.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can do that – is the frontend able to handle quotas being empty for users who are not admins?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Going to merge this as is, can do this in a follow up if it's worth it

@begelundmuller begelundmuller merged commit 8d45989 into main Dec 2, 2024
9 checks passed
@begelundmuller begelundmuller deleted the begelundmuller/get-org-public-projs branch December 2, 2024 15:54
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.

2 participants