-
Notifications
You must be signed in to change notification settings - Fork 24
feat: Add PermissionsNeeded to tables schema
#1827
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
b550c45 to
1d4b1b1
Compare
marianogappa
left a comment
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.
Nothing prevents two different implementors from documenting the same cloud permissions differently 👀 it's just a string. I think it's fine, since it's just documentation.
| {Name: "incremental_key", Type: arrow.BinaryTypes.String, IncrementalKey: true}, | ||
| {Name: "multiple_attributes", Type: arrow.BinaryTypes.String, PrimaryKey: true, IncrementalKey: true, NotNull: true, Unique: true}, | ||
| }, | ||
| PermissionsNeeded: []string{"storage.buckets.list"}, |
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 guess the only other feature than a literal documentation string is the fact that commas are a special character; do you want to check that the splitting is maintained when you go back and forth?
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.
Ah good point let me handle that
#### Summary Follow up to #1827 (comment) ---
🤖 I have created a release *beep* *boop* --- ## [4.55.0](v4.54.0...v4.55.0) (2024-07-30) ### Features * Add `PermissionsNeeded` to tables schema ([#1827](#1827)) ([863b906](863b906)) ### Bug Fixes * Handle commas in permissions array ([#1835](#1835)) ([b633aed](b633aed)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Summary
Part of https://github.com/cloudquery/cloudquery-issues/issues/2034 needs cloudquery/cloudquery-api-go#205
Use the following steps to ensure your PR is ready to be reviewed
go fmtto format your code 🖊golangci-lint run🚨 (install golangci-lint here)