Comments (4)
@SP3269 I've added this to the 1.2 milestone, so we'll get it fixed in the release after next. I'll be releasing 1.1 in short order, so we'll have to wait on that one.
Thanks for pushing this one forward!
from rbacsync.
@SP3269 Did you run it successfully with the reduced scope? The docs aren't super clear on the difference.
from rbacsync.
Agree, the documentation is suboptimal!
Ok, this is not only the doco change. In the gsuite/grouper.go:73, the admin.directory.group.member.readonly if specifically requested:
config, err := google.JWTConfigFromJSON(b, admin.AdminDirectoryGroupMemberReadonlyScope, admin.AdminDirectoryGroupReadonlyScope)
The Members function is using only one directory API of the G Suite Admin SDK - Members: list. Per Google documentation, that requires one of the scopes:
- https://www.googleapis.com/auth/admin.directory.group.member.readonly
- https://www.googleapis.com/auth/admin.directory.group.member
- https://www.googleapis.com/auth/admin.directory.group.readonly
- https://www.googleapis.com/auth/admin.directory.group
Previously, we only used https://www.googleapis.com/auth/admin.directory.group.readonly for similar purpose integrating Spinaker and Artifactory with G Suite, thus raising this issue.
Should I send PR?
from rbacsync.
Should I send PR?
Yea, that's fine but I don't have a good way to test this.
from rbacsync.
Related Issues (9)
- Allow RBACSYncConfig to bind ClusterRole HOT 1
- Update CRDs with schema validation and remove deprecated APIs HOT 1
- Google Groups API thresholds/quotas exceeded by RBACSync querying HOT 2
- Keycloak idp support Enhancement
- Accounts setup documentation HOT 2
- Improve status reporting of RBACSync HOT 1
- RBACSync should not remove rolebindings when G Suite API fails HOT 6
- metrics: add gauges for fulfilled configurations HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rbacsync.