This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handling case insensitivity for tenant access allow-create option (#968)
* Handling case insensitivity for tenant access allow-create option 1. Accepting case insensitive true/false values for allow-create option to set access for tenants. But throwing error for invalid values for allow-create option Testing: Added test cases for case insensitive true/false values as well as invalid value Manual testing done Resolves: #918 * Validating the tenant access set allow-create in auth_api 1. Moved the validatin logic to auth_api to be applied when invoked from both Admin CLI and VMODL 2. Modifying test cases to be hit by vmdkops_admin tenant_access_set api * 1. Adding allow_create validation to tenant_access_add 2. Correcting vmodl tests to allow optional allow_create parameter 3. Code cleaning * Code cleaning and reverting vmdk_ops_test * 1. Removing redundant test code and modifying comments 2. Updating help for admin tenant access set --allow-create option * Proper message check for invalid input to tenant access set allow_create option
- Loading branch information
1 parent
d45c2ec
commit 3f64805
Showing
4 changed files
with
104 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters