Remove Future Parameters (write, list, delete) from ACL Validation Schema
Updated the validation schema for ACLs.
- Removed write, list, and delete operations since they are not yet supported.
- Added line for no additional properties other than "users" and "creator_only"
- Added unit tests covering all of these and other conditions.
- Updated unit tests to limit to "read" ACLs
- Removed unit tests covering cases with more than one operation
Change-Id: Ie8a3abd22d02bb4a7bbedad373efa7435f3bdb3b
Closes-Bug: #1447872
(cherry picked from commit 1fa86f707e0b4b5923268fb34c87026d390e0eef)
Reviewed: https:/ /review. openstack. org/192398 /git.openstack. org/cgit/ openstack/ barbican/ commit/ ?id=d0a5ac2c804 2de6eeddd35b887 0c01eeead478c0
Committed: https:/
Submitter: Jenkins
Branch: stable/kilo
commit d0a5ac2c8042de6 eeddd35b8870c01 eeead478c0
Author: Dave McCowan <email address hidden>
Date: Fri Apr 24 15:32:48 2015 -0400
Remove Future Parameters (write, list, delete) from ACL Validation Schema
Updated the validation schema for ACLs.
- Removed write, list, and delete operations since they are not yet supported.
- Added line for no additional properties other than "users" and "creator_only"
- Added unit tests covering all of these and other conditions.
- Updated unit tests to limit to "read" ACLs
- Removed unit tests covering cases with more than one operation
Change-Id: Ie8a3abd22d02bb 4a7bbedad373efa 7435f3bdb3b 923268fb34c8702 6d390e0eef)
Closes-Bug: #1447872
(cherry picked from commit 1fa86f707e0b4b5