Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Add grant_admin_privileges() to InfluxDBClient #331

Merged
merged 2 commits into from
Jun 13, 2016
Merged

Add grant_admin_privileges() to InfluxDBClient #331

merged 2 commits into from
Jun 13, 2016

Conversation

wwentland
Copy link
Contributor

This allows users to easily alter the 'admin' attribute of a user
account and complements the already existing 'revove_admin_privileges'
method.

@aviau
Copy link
Collaborator

aviau commented Jun 9, 2016

@BABILEN I'd love to see the tests passing before merging this. I tank you for your contribution, would you like to open a PR to fix the tests?

@wwentland
Copy link
Contributor Author

wwentland commented Jun 9, 2016

The tests seem to be failing due to changes introduced in f97effe as mentioned in #323.

I was under the impression that the failures are unrelated to my changes here.

@aviau
Copy link
Collaborator

aviau commented Jun 9, 2016

You are right, but the fact that there are failing tests makes reviewing pull requests longer for me because I have to read the logs and see what is failing and what isn't.

@wwentland
Copy link
Contributor Author

wwentland commented Jun 9, 2016

Sure, I totally understand. It's just that f97effe introduced significant changes and I am, as of now, not entirely sure how to fix it.

I will, however, take a look.

This allows users to easily alter the 'admin' attribute of a user
account and complements the already existing 'revove_admin_privileges'
method.
These tests simply check for correct query generation and exception
handling if used incorrectly by passing in an empty string as username.
@aviau aviau merged commit b1d9fb9 into influxdata:master Jun 13, 2016
@wwentland wwentland deleted the grant_admin_privileges branch June 13, 2016 17:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants