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

Update get/setBucketPolicy methods to use files instead of pkg/policy #959

Merged
merged 1 commit into from Apr 9, 2018

Conversation

nitisht
Copy link
Contributor

@nitisht nitisht commented Mar 23, 2018

Also removed ListBucketPolicies API as we move to json file based
policy handling.

Fixes #943

@nitisht nitisht changed the title Update get/setBucketPolicy methods to use files instead of pkg/policy [WIP]Update get/setBucketPolicy methods to use files instead of pkg/policy Mar 23, 2018
@nitisht nitisht changed the title [WIP]Update get/setBucketPolicy methods to use files instead of pkg/policy Update get/setBucketPolicy methods to use files instead of pkg/policy Mar 23, 2018
@nitisht nitisht force-pushed the bucket-policy branch 2 times, most recently from 2296d57 to f4d5fca Compare March 23, 2018 12:36
@harshavardhana
Copy link
Member

Update api.go to update the API version we need to move to 6.0.0 here.

Copy link
Contributor

@krishnasrinivas krishnasrinivas left a comment

Choose a reason for hiding this comment

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

@nitisht policy as a string is simpler API than stream, that is how it is done in JS and Py

@poornas
Copy link
Contributor

poornas commented Mar 23, 2018

@nitisht, second @krishnasrinivas suggestion on using policy as a string or passed in as a file.

Also removed ListBucketPolicies API as we move to json file based
policy handling.

Fixes minio#943
@nitisht
Copy link
Contributor Author

nitisht commented Mar 23, 2018

updated the PR @harshavardhana @poornas @krishnasrinivas PTAL

Copy link
Contributor

@poornas poornas left a comment

Choose a reason for hiding this comment

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

LGTM.

@nitisht
Copy link
Contributor Author

nitisht commented Mar 28, 2018

@krishnasrinivas could you pls take a look again

@kannappanr kannappanr merged commit 7f5f12d into minio:master Apr 9, 2018
@nitisht nitisht deleted the bucket-policy branch April 10, 2018 04:05
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.

None yet

5 participants