-
Notifications
You must be signed in to change notification settings - Fork 0
[BB-1927] remove business+ dependency for getting workspace role grants #70
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
Conversation
WalkthroughChanges to Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-10-28T17:48:53.644ZApplied to files:
🧬 Code graph analysis (1)pkg/connector/workspace.go (1)
🔇 Additional comments (2)
Comment |
| bag.PageToken(), | ||
| ) | ||
| outputAnnotations.WithRateLimiting(ratelimitData) | ||
| users, err := o.client.GetUsers() |
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.
I think we could emit the grants from the users Grants method to avoid listing users here. We should have the workspace id since it is the parent resource
currently not possible to get system roles because the
admin.roles.readpermission is required to access the listAssignments endpoint, since business+ only has access toadminpermission, notadmin.roles.read, then is not possible to list those.Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.