-
Notifications
You must be signed in to change notification settings - Fork 210
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 a 'detail=granular' query option to GET ACL endpoint #917
Conversation
Note chef-zero failures are expected for a bit longer, until updated for the API change this afternoon. |
41f16ec
to
f80e3ab
Compare
f80e3ab
to
a73a424
Compare
a73a424
to
69164dd
Compare
a9f35d1
to
8cdd30a
Compare
69164dd
to
44e4101
Compare
@@ -75,7 +75,7 @@ matrix: | |||
before_script: cd oc-chef-pedant | |||
script: bundle exec rake chef_zero_spec | |||
env: | |||
- "GEMFILE_MOD=\"gem 'rake'; gem 'chef-zero', github: 'chef/chef-zero'\"" | |||
- "GEMFILE_MOD=\"gem 'rake'; gem 'chef-zero', github: 'chef/chef-zero', branch: 'mp/SPOOL-340' \"" |
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.
Should we wait to merge until this PR gets merged in?
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.
Yep
44e4101
to
651d800
Compare
One potential refactor, but other than that 👍 We've needed this forever lol. |
d5183e3
to
444920c
Compare
@@ -204,14 +205,16 @@ fetch_cookbook_id(DbContext, Name, OrgId) -> | |||
AuthzId | |||
end. | |||
|
|||
-spec fetch(chef_type(), id()) -> list() | {error, term()}. |
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.
Shouldn't this spec be retained?
👍 |
444920c
to
281c74b
Compare
281c74b
to
ace8b6b
Compare
… acl body Signed-off-by: Marc Paradise <[email protected]>
When specified, this option will split out users and clients within the body response, and will force 'actors' to be empty. This body response is compatible with re-PUTing the body back to the object ACE endpoint as-is, which will simplify changes to tooling when updating it to use recently-added new ACL endpoint functionality. Signed-off-by: Marc Paradise <[email protected]>
ace8b6b
to
e0c360c
Compare
e0c360c
to
1c7c236
Compare
* 400 responses in object ACL updates will now include the specific | ||
missing or incorrect entities where appropriate. | ||
|
||
* The GET | ||
The GET API response for object ACL has not been changed by default, |
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.
Duplicate line? Looks weird...
Other than the odd line in the release notes file, 👍 |
Signed-off-by: Marc Paradise <[email protected]>
1c7c236
to
3153f27
Compare
When specified, this option will split out users and clients within
the body response, and will force 'actors' to be empty. This body
response is compatible with re-PUTing the body back to the object ACE
endpoint as-is, which will simplify changes to tooling when updating it
to use recently-added new ACL endpoint functionality.
Pre-merge:
.travis.yml
to master of chef-zero