-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Allow predefined ACL names from either XML or JSON APIs. #1664
Allow predefined ACL names from either XML or JSON APIs. #1664
Conversation
@@ -409,7 +419,7 @@ def _save(self, acl, predefined, client): | |||
|
|||
:type predefined: string or None | |||
:param predefined: An identifier for a predefined ACL. Must be one | |||
of the keys in :attr:`_PREDEFINED_ACLS` | |||
of the keys in :attr:`_PREDEFINED_JSON_ACLS` |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
LGTM. |
Convert names from the XML API to the equivalent JSON names. Fixes #1659.
@@ -409,7 +419,7 @@ def _save(self, acl, predefined, client): | |||
|
|||
:type predefined: string or None | |||
:param predefined: An identifier for a predefined ACL. Must be one | |||
of the keys in :attr:`_PREDEFINED_ACLS` | |||
of the keys in :attr:`PREDEFINED_JSON_ACLS` |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
LGTM still |
Convert names from the XML API to the equivalent JSON names.
Fixes #1659.