)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Updated Get ACL by id response to match request payload format. This is"},{"line_number":13,"context_line":"dependent on review https://review.openstack.org/#/c/180353/"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Ia8173e7407cc77d4d4a561905ffe8f9f603eb9cb"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"1aca2d91_9dc5de3d","line":14,"updated":"2015-05-07 14:05:52.000000000","message":"Do you want to reference the blueprint?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"}],"doc/source/api/quickstart/acls.rst":[{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":2,"context_line":"ACLs API - Quick Start"},{"line_number":3,"context_line":"*************************"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far, user"},{"line_number":6,"context_line":"is allowed access to project resources based on the roles user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use-cases from OpenStack services where above mentioned project based access"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_58ef8bb0","line":5,"updated":"2015-04-29 04:23:44.000000000","message":"\"So far, user\" -\u003e \"So far, a user\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":3,"context_line":"*************************"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far, user"},{"line_number":6,"context_line":"is allowed access to project resources based on the roles user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use-cases from OpenStack services where above mentioned project based access"},{"line_number":9,"context_line":"rules are not sufficient for managing their resources in Barbican. So ACL support is added to"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_b83fbf24","line":6,"updated":"2015-04-29 04:23:44.000000000","message":"\"the roles user has in\" -\u003e \"the roles a user has in\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far, user"},{"line_number":6,"context_line":"is allowed access to project resources based on the roles user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use-cases from OpenStack services where above mentioned project based access"},{"line_number":9,"context_line":"rules are not sufficient for managing their resources in Barbican. So ACL support is added to"},{"line_number":10,"context_line":"augment these access rules for secret and container resources."},{"line_number":11,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_d8103bab","line":8,"updated":"2015-04-29 04:23:44.000000000","message":"\"use-cases\" -\u003e I don\u0027t think the hyphen is needed here. \"services where above\" -\u003e \"services where the above\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":6,"context_line":"is allowed access to project resources based on the roles user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use-cases from OpenStack services where above mentioned project based access"},{"line_number":9,"context_line":"rules are not sufficient for managing their resources in Barbican. So ACL support is added to"},{"line_number":10,"context_line":"augment these access rules for secret and container resources."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This guide will assume you will be using a local running development environment of Barbican."}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_38796ffd","line":9,"updated":"2015-04-29 04:23:44.000000000","message":"\"So ACL support\" -\u003e \"ACL support\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":16,"context_line":"ACL Definition"},{"line_number":17,"context_line":"##############"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"ACL (Access Control List) defines set of attributes which are used in policy based authorization"},{"line_number":20,"context_line":"to determine access to a target resource. ACL definition is operation specific and is defined per"},{"line_number":21,"context_line":"secret or per container."},{"line_number":22,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_986ac319","line":19,"updated":"2015-04-29 04:23:44.000000000","message":"\"defines set of\" -\u003e \"defines a set of","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":20,"context_line":"to determine access to a target resource. ACL definition is operation specific and is defined per"},{"line_number":21,"context_line":"secret or per container."},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"ACLs are defined specific to resource operations. So far classified operations are:"},{"line_number":24,"context_line":"  * `read`: For secrets, someone with ‘get’ permission will be able to retrieve secret metadata and"},{"line_number":25,"context_line":"    payload. For containers, it means ablility to retrieve the container (which is essentially all"},{"line_number":26,"context_line":"    metadata)."}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_38604f35","line":23,"updated":"2015-04-29 04:23:44.000000000","message":"\"So far classified operations\" -\u003e \"Currently, classified operations\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":29,"context_line":"    immutable."},{"line_number":30,"context_line":"  * `delete`: Ability to delete a secret or container."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"These classifications are generic names for REST method on a resource e.g. `read` maps to GET call for"},{"line_number":33,"context_line":"a given secret."},{"line_number":34,"context_line":""},{"line_number":35,"context_line":".. note::"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_18659344","line":32,"updated":"2015-04-29 04:23:44.000000000","message":"\"names for REST method on\" -\u003e \"names for REST methods on\"\n\"maps to GET call\" -\u003e \"maps to a GET call\". GET should also probably be bold.","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":34,"context_line":""},{"line_number":35,"context_line":".. note::"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    Currently barbican default policy, just makes use of \u0027read\u0027 ACL definition data only i.e."},{"line_number":38,"context_line":"    other definitions if defined for a secret are not used for authorization checks."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"ACL allow a secret or a container to be marked private. Private behavior means users, other"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_9851a365","line":37,"updated":"2015-04-29 04:23:44.000000000","message":"\"Currently barbican default policy, just\" -\u003e \"Currently, Barbican default policy just\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":37,"context_line":"    Currently barbican default policy, just makes use of \u0027read\u0027 ACL definition data only i.e."},{"line_number":38,"context_line":"    other definitions if defined for a secret are not used for authorization checks."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"ACL allow a secret or a container to be marked private. Private behavior means users, other"},{"line_number":41,"context_line":"than creator user, with roles on secret/container project would not have access until they are added"},{"line_number":42,"context_line":"in whitelist users list."},{"line_number":43,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_584b0bb1","line":40,"updated":"2015-04-29 04:23:44.000000000","message":"\"ACL\" -\u003e \"ACLs\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    other definitions if defined for a secret are not used for authorization checks."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"ACL allow a secret or a container to be marked private. Private behavior means users, other"},{"line_number":41,"context_line":"than creator user, with roles on secret/container project would not have access until they are added"},{"line_number":42,"context_line":"in whitelist users list."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"An operation specific ACL definition has following attribute:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_f8d097cb","line":41,"updated":"2015-04-29 04:23:44.000000000","message":"\"than creator user with\" -\u003e \"than the creator user with\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":39,"context_line":""},{"line_number":40,"context_line":"ACL allow a secret or a container to be marked private. Private behavior means users, other"},{"line_number":41,"context_line":"than creator user, with roles on secret/container project would not have access until they are added"},{"line_number":42,"context_line":"in whitelist users list."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"An operation specific ACL definition has following attribute:"},{"line_number":45,"context_line":"  * `users`: Whitelist of users who are allowed access to target resource. Here user means Keystone"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_38ee0f8c","line":42,"updated":"2015-04-29 04:23:44.000000000","message":"Wording seems off here.","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":42,"context_line":"in whitelist users list."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"An operation specific ACL definition has following attribute:"},{"line_number":45,"context_line":"  * `users`: Whitelist of users who are allowed access to target resource. Here user means Keystone"},{"line_number":46,"context_line":"    user id."},{"line_number":47,"context_line":"  * `creator-only`: Flag to mark a secret or a container private for an operation. Pass `true` to"},{"line_number":48,"context_line":"    mark private."}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_98ff6334","line":45,"updated":"2015-04-29 04:23:44.000000000","message":"\"Here user means Keystone\" -\u003e \"In this case a user means a Keystone\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":54,"context_line":"####################"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"New ACL(s) are added to existing secret or container via POST method. This method is allowed only when"},{"line_number":57,"context_line":"there is no existing ACL defined for that secret or container. To apply updates to existing ACL or add"},{"line_number":58,"context_line":"new ACL definition once there are existing ACL(s) on secret or container, use PATCH method instead."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_58f9cb4c","line":57,"updated":"2015-04-29 04:23:44.000000000","message":"\"to existing ACL\" -\u003e \"to an existing ACL\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":55,"context_line":""},{"line_number":56,"context_line":"New ACL(s) are added to existing secret or container via POST method. This method is allowed only when"},{"line_number":57,"context_line":"there is no existing ACL defined for that secret or container. To apply updates to existing ACL or add"},{"line_number":58,"context_line":"new ACL definition once there are existing ACL(s) on secret or container, use PATCH method instead."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"To create an ACL for a secret:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_b889ffcc","line":58,"updated":"2015-04-29 04:23:44.000000000","message":"\"new ACL definition\" -\u003e \"a new ACL definition\". \n\"on secret or container, use PATCH method instead\" -\u003e \"on  a secret or container use the PATCH method instead\" PATCH should also probably be bold.","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":117,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/e109049e-cf38-401e-a8d3-dcecca76135e/acls/d4b6e1a3-839f-465c-8b3c-f96632e59b7a\"}]"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"To get more details on create API, you can reference the :ref:`Create Secret ACLs \u003cpost_secret_acls\u003e`"},{"line_number":121,"context_line":"or :ref:`Create Container ACLs \u003cpost_container_acls\u003e` documentation."},{"line_number":122,"context_line":""},{"line_number":123,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_7881278f","line":120,"updated":"2015-04-29 04:23:44.000000000","message":"\"details on create API, you can\" -\u003e \"details on the create API you can\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":126,"context_line":"How to Update ACL(s)"},{"line_number":127,"context_line":"####################"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"Existing ACL can be updated via PATCH methods on a given secret/container or for a given ACL uuid."},{"line_number":130,"context_line":"New ACL(s) can be added via PATCH method once ACL is added on a secret or a container."},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"To update existing ACL for a container:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_384a8f84","line":129,"updated":"2015-04-29 04:23:44.000000000","message":"PATCH bold?","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":127,"context_line":"####################"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":"Existing ACL can be updated via PATCH methods on a given secret/container or for a given ACL uuid."},{"line_number":130,"context_line":"New ACL(s) can be added via PATCH method once ACL is added on a secret or a container."},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"To update existing ACL for a container:"},{"line_number":133,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_184fd393","line":130,"updated":"2015-04-29 04:23:44.000000000","message":"PATCH bold?","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":129,"context_line":"Existing ACL can be updated via PATCH methods on a given secret/container or for a given ACL uuid."},{"line_number":130,"context_line":"New ACL(s) can be added via PATCH method once ACL is added on a secret or a container."},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"To update existing ACL for a container:"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":".. code-block:: bash"},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_f843f76a","line":132,"updated":"2015-04-29 04:23:44.000000000","message":"\"To update existing\" -\u003e \"To update an existing\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":156,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/containers/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls/7077c03a-f8b7-428c-ad90-2774614a9207\"}]"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":""},{"line_number":159,"context_line":"To add new ACL for a existing secret:"},{"line_number":160,"context_line":""},{"line_number":161,"context_line":".. code-block:: bash"},{"line_number":162,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_b85e9f43","line":159,"updated":"2015-04-29 04:23:44.000000000","message":"\"To add new ACL for\" -\u003e \"To add a new ACL for\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":182,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/e109049e-cf38-401e-a8d3-dcecca76135e/acls/d4b6e1a3-839f-465c-8b3c-f96632e59b7a\"},"},{"line_number":183,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/e109049e-cf38-401e-a8d3-dcecca76135e/acls/259da5f8-d10f-45de-bbeb-50f0a573d08f\"}]"},{"line_number":184,"context_line":""},{"line_number":185,"context_line":"To update only creator-only flag value:"},{"line_number":186,"context_line":""},{"line_number":187,"context_line":".. code-block:: bash"},{"line_number":188,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_58554b1b","line":185,"updated":"2015-04-29 04:23:44.000000000","message":"\"To update only creator-only\" -\u003e \"To update the creator-only\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":205,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/6855b58f-8ad8-4d97-8b23-a2a337fc82cc\"}]"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"To update secret ACL by ACL id:"},{"line_number":209,"context_line":""},{"line_number":210,"context_line":".. code-block:: bash"},{"line_number":211,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_38316f0c","line":208,"updated":"2015-04-29 04:23:44.000000000","message":"\"o update secret ACL\" -\u003e \"To update a secret ACL\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":230,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045\"}"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"Container ACL(s) update operation are similar to secrets APIs, only change is `containers` resource used instead of"},{"line_number":234,"context_line":"`secrets` resource in URI. To get more details on ACL update APIs, you can reference the "},{"line_number":235,"context_line":":ref:`Update Secret ACLs \u003cpatch_secret_acls\u003e` , :ref:`Update Container ACLs \u003cpatch_container_acls\u003e` "},{"line_number":236,"context_line":", :ref:`Update Secret ACL \u003cpatch_secret_acl\u003e` or :ref:`Update Container ACL \u003cpatch_container_acl\u003e` documentation."}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_b80c5f43","line":233,"updated":"2015-04-29 04:23:44.000000000","message":"\"update operation are similar to secrets APIs, only change is `containers` resource \nused instead of\" -\u003e \"update operations are similar to secrets APIs except the only change is the `containers` resource \nis used instead of the\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":231,"context_line":""},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"Container ACL(s) update operation are similar to secrets APIs, only change is `containers` resource used instead of"},{"line_number":234,"context_line":"`secrets` resource in URI. To get more details on ACL update APIs, you can reference the "},{"line_number":235,"context_line":":ref:`Update Secret ACLs \u003cpatch_secret_acls\u003e` , :ref:`Update Container ACLs \u003cpatch_container_acls\u003e` "},{"line_number":236,"context_line":", :ref:`Update Secret ACL \u003cpatch_secret_acl\u003e` or :ref:`Update Container ACL \u003cpatch_container_acl\u003e` documentation."},{"line_number":237,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ec13385b","line":234,"updated":"2015-04-29 04:23:44.000000000","message":"\"in URI\" -\u003e \"in the URI\"\n\"update APIs, you can\" -\u003e \"update APIs you can\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":241,"context_line":"How to Retrieve ACL(s)"},{"line_number":242,"context_line":"######################"},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"ACL(s) defined for a secret or container can be retrieved by using GET operation on respective `acls` resource. The"},{"line_number":245,"context_line":"returned response contains list of ACL references."},{"line_number":246,"context_line":""},{"line_number":247,"context_line":".. code-block:: bash"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_cc107c51","line":244,"updated":"2015-04-29 04:23:44.000000000","message":"\"using GET\" -\u003e \"using a GET\" GET Bold ?","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":242,"context_line":"######################"},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"ACL(s) defined for a secret or container can be retrieved by using GET operation on respective `acls` resource. The"},{"line_number":245,"context_line":"returned response contains list of ACL references."},{"line_number":246,"context_line":""},{"line_number":247,"context_line":".. code-block:: bash"},{"line_number":248,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_8c1a846d","line":245,"updated":"2015-04-29 04:23:44.000000000","message":"\"contains list of\" -\u003e \"contains a list of\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":258,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/6855b58f-8ad8-4d97-8b23-a2a337fc82cc\"}]"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"ACL definition can be retrieved by using ACL reference provided in secret or container ACLs lookup response as"},{"line_number":262,"context_line":"shown above."},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"Get ACL definition by ACL id:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_4c2b4c83","line":261,"updated":"2015-04-29 04:23:44.000000000","message":"\"ACL definition\" -\u003e \"An ACL definition\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":286,"context_line":"    }"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":""},{"line_number":289,"context_line":"To get more details on ACL lookup APIs, you can reference the :ref:`Get Secret ACLs \u003cget_secret_acls\u003e` ,"},{"line_number":290,"context_line":":ref:`Get Container ACLs \u003cget_container_acls\u003e`, :ref:`Get Secret ACL \u003cget_secret_acl\u003e`"},{"line_number":291,"context_line":"or :ref:`Get Container ACL \u003cget_container_acl\u003e` documentation."},{"line_number":292,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_2c20109b","line":289,"updated":"2015-04-29 04:23:44.000000000","message":"\"APIs, you\" -\u003e \"APIs you\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":296,"context_line":"How to Delete ACL(s)"},{"line_number":297,"context_line":"####################"},{"line_number":298,"context_line":""},{"line_number":299,"context_line":"All of ACLs defined for a secret or a container can be deleted by using DELETE operation on respective `acls` resource."},{"line_number":300,"context_line":"There is no response content returned on successful deletion."},{"line_number":301,"context_line":""},{"line_number":302,"context_line":".. code-block:: bash"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_0c2554aa","line":299,"updated":"2015-04-29 04:23:44.000000000","message":"\"All of ACLs\" -\u003e \"All ACLs\"\n\"using DELETE operation on respecti\nve\" -\u003e \"using the DELETE operation on their respecti\nve\" DELETE Bold?","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":310,"context_line":""},{"line_number":311,"context_line":"    200 OK"},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"If need to delete specific ACL for a secret or container, use its ACL reference to delete that ACL."},{"line_number":314,"context_line":""},{"line_number":315,"context_line":".. code-block:: bash"},{"line_number":316,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_cc375ce2","line":313,"updated":"2015-04-29 04:23:44.000000000","message":"\"If need to\" -\u003e \"If you need to\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"6fca03140d300d08464c7d642254273d341667bd","unresolved":false,"context_lines":[{"line_number":2,"context_line":"ACLs API - Quick Start"},{"line_number":3,"context_line":"*************************"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far, a user"},{"line_number":6,"context_line":"is allowed access to project resources based on the roles a user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use cases from OpenStack services where the above mentioned project based access"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3acd31a7_1e21dffb","line":5,"updated":"2015-04-30 15:54:22.000000000","message":"Is there a line break here?","commit_id":"9f63a84d470f4d6a5788af11bef570c5ab148a33"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"87ce6f44c6ca9bb28fa906c6ffb7b3b346cabced","unresolved":false,"context_lines":[{"line_number":2,"context_line":"ACLs API - Quick Start"},{"line_number":3,"context_line":"*************************"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far, a user"},{"line_number":6,"context_line":"is allowed access to project resources based on the roles a user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use cases from OpenStack services where the above mentioned project based access"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3acd31a7_3494b789","line":5,"in_reply_to":"3acd31a7_1e21dffb","updated":"2015-04-30 17:51:40.000000000","message":"Yes, its a line break. Not sure how it came up. Will fix this and rest in next patch.","commit_id":"9f63a84d470f4d6a5788af11bef570c5ab148a33"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"8bfccfaaa3b650e5b2d87bb91aa9c32cf04875c6","unresolved":false,"context_lines":[{"line_number":2,"context_line":"ACLs API - Quick Start"},{"line_number":3,"context_line":"*************************"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far, a user"},{"line_number":6,"context_line":"is allowed access to project resources based on the roles a user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use cases from OpenStack services where the above mentioned project based access"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3acd31a7_5421734c","line":5,"in_reply_to":"3acd31a7_3494b789","updated":"2015-04-30 17:55:06.000000000","message":"Actually checked in html output and it looks fine. \nhttp://docs-draft.openstack.org/79/178479/3/check/gate-barbican-docs/fcd35f5//doc/build/html/api/quickstart/acls.html\n\nWill check to see if there is change needed.","commit_id":"9f63a84d470f4d6a5788af11bef570c5ab148a33"},{"author":{"_account_id":7973,"name":"Douglas Mendizábal","email":"dmendiza@redhat.com","username":"dougmendizabal"},"change_message_id":"2aa77a8f564b84b8674da0c75907b7da1b2e25d5","unresolved":false,"context_lines":[{"line_number":35,"context_line":".. note::"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    Currently Barbican default policy just makes use of \u0027read\u0027 ACL definition data only i.e."},{"line_number":38,"context_line":"    other operations are expected to be supported in future."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"ACLs allow a secret or a container to be marked private. Private secret/container means that only"},{"line_number":41,"context_line":"the user who created the secret/container can extract secret. Users with necessary roles on"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3acd31a7_d6733c7f","line":38,"updated":"2015-05-01 03:49:42.000000000","message":"I think that mentioning support for future features is too much information.  Please remove \"i.e. ...\"","commit_id":"9f63a84d470f4d6a5788af11bef570c5ab148a33"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"71c78b6a8d37be5d325f6282c90a2d13ef3120cc","unresolved":false,"context_lines":[{"line_number":35,"context_line":".. note::"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    Currently Barbican default policy just makes use of \u0027read\u0027 ACL definition data only i.e."},{"line_number":38,"context_line":"    other operations are expected to be supported in future."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"ACLs allow a secret or a container to be marked private. Private secret/container means that only"},{"line_number":41,"context_line":"the user who created the secret/container can extract secret. Users with necessary roles on"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3acd31a7_28ffa868","line":38,"in_reply_to":"3acd31a7_d6733c7f","updated":"2015-05-01 15:45:27.000000000","message":"Okay. Will remove in next patch.","commit_id":"9f63a84d470f4d6a5788af11bef570c5ab148a33"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"6fca03140d300d08464c7d642254273d341667bd","unresolved":false,"context_lines":[{"line_number":54,"context_line":"How to Create ACL(s)"},{"line_number":55,"context_line":"####################"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"New ACL(s) are added to existing secret or container via POST method. This method is allowed only when"},{"line_number":58,"context_line":"there is no existing ACL defined for that secret or container. To apply updates to an existing ACL or add"},{"line_number":59,"context_line":"a new ACL definition once there are existing ACL(s) on a secret or container, use the **PATCH** method instead."},{"line_number":60,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3acd31a7_dec7e710","line":57,"updated":"2015-04-30 15:54:22.000000000","message":"Not sure if these are line breaks or ?","commit_id":"9f63a84d470f4d6a5788af11bef570c5ab148a33"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"6fca03140d300d08464c7d642254273d341667bd","unresolved":false,"context_lines":[{"line_number":55,"context_line":"####################"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"New ACL(s) are added to existing secret or container via POST method. This method is allowed only when"},{"line_number":58,"context_line":"there is no existing ACL defined for that secret or container. To apply updates to an existing ACL or add"},{"line_number":59,"context_line":"a new ACL definition once there are existing ACL(s) on a secret or container, use the **PATCH** method instead."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3acd31a7_9ed16fd0","line":58,"updated":"2015-04-30 15:54:22.000000000","message":"Not sure if these are line breaks or ?","commit_id":"9f63a84d470f4d6a5788af11bef570c5ab148a33"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"6fca03140d300d08464c7d642254273d341667bd","unresolved":false,"context_lines":[{"line_number":224,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/6855b58f-8ad8-4d97-8b23-a2a337fc82cc\"}]"},{"line_number":225,"context_line":""},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"An ACL definition can be retrieved by using ACL reference provided in secret or container ACLs lookup response"},{"line_number":228,"context_line":"as shown above."},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Get ACL definition by ACL id:"}],"source_content_type":"text/x-rst","patch_set":3,"id":"3acd31a7_7eed738a","line":227,"updated":"2015-04-30 15:54:22.000000000","message":"Not sure if these are line breaks or ?","commit_id":"9f63a84d470f4d6a5788af11bef570c5ab148a33"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":28,"context_line":"  * `write`: Ability to modify a secret or container. Currently typed containers and secrets are"},{"line_number":29,"context_line":"    immutable."},{"line_number":30,"context_line":"  * `delete`: Ability to delete a secret or container."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"These classifications are generic names for REST methods on a resource e.g. `read` maps to a **GET**"},{"line_number":33,"context_line":"call for a given secret."},{"line_number":34,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_8768f188","line":31,"updated":"2015-05-07 14:05:52.000000000","message":"Is there a limit of one ACL per operation per entity?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":28,"context_line":"  * `write`: Ability to modify a secret or container. Currently typed containers and secrets are"},{"line_number":29,"context_line":"    immutable."},{"line_number":30,"context_line":"  * `delete`: Ability to delete a secret or container."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"These classifications are generic names for REST methods on a resource e.g. `read` maps to a **GET**"},{"line_number":33,"context_line":"call for a given secret."},{"line_number":34,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_fc74cb9c","line":31,"in_reply_to":"1aca2d91_8768f188","updated":"2015-05-07 18:48:37.000000000","message":"Yes. ACL update make changes in existing operation ACL.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"ACLs allow a secret or a container to be marked private. Private secret/container means that only"},{"line_number":40,"context_line":"the user who created the secret/container can extract secret. Users with necessary roles on"},{"line_number":41,"context_line":"secret/container project will not have access. To allow access to other users, their user ids need to"},{"line_number":42,"context_line":"be added in related ACL users list."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"An operation specific ACL definition has following attribute:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_44be57d5","line":41,"updated":"2015-05-07 14:05:52.000000000","message":"Clarify that an admin for the project would still have full access.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"ACLs allow a secret or a container to be marked private. Private secret/container means that only"},{"line_number":40,"context_line":"the user who created the secret/container can extract secret. Users with necessary roles on"},{"line_number":41,"context_line":"secret/container project will not have access. To allow access to other users, their user ids need to"},{"line_number":42,"context_line":"be added in related ACL users list."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"An operation specific ACL definition has following attribute:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_5cf5ffc8","line":41,"in_reply_to":"1aca2d91_44be57d5","updated":"2015-05-07 18:48:37.000000000","message":"I was planning to leave details related to policy rules as that can vary with deployments. If it can be useful without causing confusion, I can add that. Any thoughts?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"af483da68d58acfa9b28c6af4b68208a10184f83","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"ACLs allow a secret or a container to be marked private. Private secret/container means that only"},{"line_number":40,"context_line":"the user who created the secret/container can extract secret. Users with necessary roles on"},{"line_number":41,"context_line":"secret/container project will not have access. To allow access to other users, their user ids need to"},{"line_number":42,"context_line":"be added in related ACL users list."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"An operation specific ACL definition has following attribute:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_80678e24","line":41,"in_reply_to":"1aca2d91_5cf5ffc8","updated":"2015-05-11 16:27:56.000000000","message":"I think it would be helpful to highlight how the ACL policy and the \u0027nornal\u0027 non-ACL policy works \u0027out of the box\u0027. That could just be a general statement towards the top of this section though?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    a Keystone user id."},{"line_number":47,"context_line":"  * `creator-only`: Flag to mark a secret or a container private for an operation. Pass `true` to"},{"line_number":48,"context_line":"    mark private."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":".. _create_acl:"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_44bad7c1","line":49,"updated":"2015-05-07 14:05:52.000000000","message":"Can we clarify if these are mutually exclusive and if not how they work together?  Maybe a new section of examples of ACLs and the resulting policies.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    a Keystone user id."},{"line_number":47,"context_line":"  * `creator-only`: Flag to mark a secret or a container private for an operation. Pass `true` to"},{"line_number":48,"context_line":"    mark private."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":".. _create_acl:"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_5ccdff5b","line":49,"in_reply_to":"1aca2d91_44bad7c1","updated":"2015-05-07 18:48:37.000000000","message":"They are not mutually exclusive. Most of ACL requests are expected to have both attributes populated in set calls.\n\nI will see if I can add more samples for ACL requests.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"af483da68d58acfa9b28c6af4b68208a10184f83","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    a Keystone user id."},{"line_number":47,"context_line":"  * `creator-only`: Flag to mark a secret or a container private for an operation. Pass `true` to"},{"line_number":48,"context_line":"    mark private."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":".. _create_acl:"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_403f36d6","line":49,"in_reply_to":"1aca2d91_5ccdff5b","updated":"2015-05-11 16:27:56.000000000","message":"Yeah, in general policy is OR based....so either the ACL stuff kicks in OR use the default/existing RBAC policy. Either your user is on the ACL list OR you are the creator.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    mark private."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":".. _create_acl:"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"How to Create ACL(s)"},{"line_number":54,"context_line":"####################"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_5a006c01","line":51,"updated":"2015-05-07 14:05:52.000000000","message":"Please add a sentence to discuss how ACLs work with policy.json.  Which one takes precedence?  If policy says only an admin can delete secrets, but the delete ACL says user2 can delete a secret, what is the result?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    mark private."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":".. _create_acl:"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"How to Create ACL(s)"},{"line_number":54,"context_line":"####################"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_8796a44a","line":51,"in_reply_to":"1aca2d91_5a006c01","updated":"2015-05-07 18:48:37.000000000","message":"The behavior is entirely based on how policy rules are constructed for specific REST API. So if ACL criteria is not used in rule, then having user ids in ACL will not matter.\n\nI think this can be clarified in docs. Will add some details on this.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"af483da68d58acfa9b28c6af4b68208a10184f83","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    mark private."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":""},{"line_number":51,"context_line":".. _create_acl:"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"How to Create ACL(s)"},{"line_number":54,"context_line":"####################"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_cb5ec711","line":51,"in_reply_to":"1aca2d91_8796a44a","updated":"2015-05-11 16:27:56.000000000","message":"So right now, when a REST call is paying attention to ACL, and if that secret/container has an ACL, then ACL policy takes precedence over the project-based policy. We only have such ACL policy defined on GET calls right now though, so for all other calls, the project-policy RBAC rules are in charge.\nWe intend to revisit this at the Liberty summit, but in the mean time, a general statement like the one above (along with the other statement further up) might be good to have toward the top of the page?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"af483da68d58acfa9b28c6af4b68208a10184f83","unresolved":false,"context_lines":[{"line_number":82,"context_line":"    Response (includes list of ACL references):"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    HTTP/1.1 201 Created"},{"line_number":85,"context_line":"    [{\"acl_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/db5e8828-d069-4cab-a537-b4bf8f62f04f\"}]"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"To get more details on the create API you can reference the :ref:`Create Secret ACLs \u003cpost_secret_acls\u003e`"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_4baf5794","line":85,"updated":"2015-05-11 16:27:56.000000000","message":"Just a general comment: please scrub all \u0027acl_ref\u0027 examples to remove the UUID after \u0027acls\u0027.  \n\nI guess folks also need to decide on \u0027acls\u0027 vs \u0027acl\u0027 for the resource name too.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"9380529096f84edd0071173cbb88df263f9f5fb9","unresolved":false,"context_lines":[{"line_number":113,"context_line":"          \"721e27b8505b499e8ab3b38154705b9e\""},{"line_number":114,"context_line":"        ],"},{"line_number":115,"context_line":"        \"creator-only\":false"},{"line_number":116,"context_line":"      }"},{"line_number":117,"context_line":"    }\u0027 \\"},{"line_number":118,"context_line":"     http://localhost:9311/v1/containers/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls"},{"line_number":119,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_6496f3f1","line":116,"updated":"2015-05-07 13:25:57.000000000","message":"if the only update for the ACL is that now the creator-only flag is set to false (since the users list stays the same), it would be less confusing only what is being changed is added here. This is to reflect that it can be done in that way.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":113,"context_line":"          \"721e27b8505b499e8ab3b38154705b9e\""},{"line_number":114,"context_line":"        ],"},{"line_number":115,"context_line":"        \"creator-only\":false"},{"line_number":116,"context_line":"      }"},{"line_number":117,"context_line":"    }\u0027 \\"},{"line_number":118,"context_line":"     http://localhost:9311/v1/containers/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls"},{"line_number":119,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_a7eac0aa","line":116,"in_reply_to":"1aca2d91_6496f3f1","updated":"2015-05-07 18:48:37.000000000","message":"Above example is just to show PATCH can be used to do complete update as well.\n\nOn line # 152 in this file, there is sample for ACL update with \u0027creator-only\u0027 flag.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"c0d208d41331f929c2d028e322f719b1cb4960bb","unresolved":false,"context_lines":[{"line_number":113,"context_line":"          \"721e27b8505b499e8ab3b38154705b9e\""},{"line_number":114,"context_line":"        ],"},{"line_number":115,"context_line":"        \"creator-only\":false"},{"line_number":116,"context_line":"      }"},{"line_number":117,"context_line":"    }\u0027 \\"},{"line_number":118,"context_line":"     http://localhost:9311/v1/containers/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls"},{"line_number":119,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_4a540c20","line":116,"in_reply_to":"1aca2d91_a7eac0aa","updated":"2015-05-08 09:32:01.000000000","message":"ok, that works for me.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"9380529096f84edd0071173cbb88df263f9f5fb9","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    Response (includes container all ACL references):"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    HTTP/1.1 200 OK"},{"line_number":123,"context_line":"    [{\"acl_ref\": \"http://localhost:9311/v1/containers/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls/d1ec94c4-ac23-4013-b544-af44b5308d81\"}]"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"To add a new ACL for an existing secret:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_043f3fd7","line":123,"updated":"2015-05-07 13:25:57.000000000","message":"does the acl identifier change when you do a patch? last time the resulting ACL was: db5e8828-d069-4cab-a537-b4bf8f62f04f\n\nand now it seems to be: d1ec94c4-ac23-4013-b544-af44b5308d81","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    Response (includes container all ACL references):"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    HTTP/1.1 200 OK"},{"line_number":123,"context_line":"    [{\"acl_ref\": \"http://localhost:9311/v1/containers/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls/d1ec94c4-ac23-4013-b544-af44b5308d81\"}]"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"To add a new ACL for an existing secret:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_e7b9d8cc","line":123,"in_reply_to":"1aca2d91_043f3fd7","updated":"2015-05-07 18:48:37.000000000","message":"It should not. Looks like earlier it was different secret so different ACL id.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"1d4044b8fbfd47bae4f6d78127fc130777542989","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    Response (includes container all ACL references):"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    HTTP/1.1 200 OK"},{"line_number":123,"context_line":"    [{\"acl_ref\": \"http://localhost:9311/v1/containers/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls/d1ec94c4-ac23-4013-b544-af44b5308d81\"}]"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"To add a new ACL for an existing secret:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_096a82b3","line":123,"in_reply_to":"1aca2d91_2a32f010","updated":"2015-05-08 16:34:11.000000000","message":"Okay. Will update it. Need to check if I have those secrets still in local database.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"c0d208d41331f929c2d028e322f719b1cb4960bb","unresolved":false,"context_lines":[{"line_number":120,"context_line":"    Response (includes container all ACL references):"},{"line_number":121,"context_line":""},{"line_number":122,"context_line":"    HTTP/1.1 200 OK"},{"line_number":123,"context_line":"    [{\"acl_ref\": \"http://localhost:9311/v1/containers/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls/d1ec94c4-ac23-4013-b544-af44b5308d81\"}]"},{"line_number":124,"context_line":""},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"To add a new ACL for an existing secret:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_2a32f010","line":123,"in_reply_to":"1aca2d91_e7b9d8cc","updated":"2015-05-08 09:32:01.000000000","message":"it\u0027s not a big deal, but mind changing it? just so the reader doesn\u0027t get confused.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"    Request:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    curl -X PATCH -H \u0027content-type:application/json\u0027 \\"},{"line_number":133,"context_line":"    -H \u0027X-Auth-Token:e1f540bc6def456dbb0f8c11f21a74ae\u0027 \\"},{"line_number":134,"context_line":"    -d \u0027"},{"line_number":135,"context_line":"    {"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_2758fd31","line":132,"updated":"2015-05-07 14:05:52.000000000","message":"What is the difference between this example (add a new) and the previous example (update existing)?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"9380529096f84edd0071173cbb88df263f9f5fb9","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"    Request:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    curl -X PATCH -H \u0027content-type:application/json\u0027 \\"},{"line_number":133,"context_line":"    -H \u0027X-Auth-Token:e1f540bc6def456dbb0f8c11f21a74ae\u0027 \\"},{"line_number":134,"context_line":"    -d \u0027"},{"line_number":135,"context_line":"    {"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_679cb5c0","line":132,"updated":"2015-05-07 13:25:57.000000000","message":"the title seems to say that we are \"adding a new ACL for an existing secret\" while the PATCH method is supposed to update. So, which is it?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":129,"context_line":""},{"line_number":130,"context_line":"    Request:"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"    curl -X PATCH -H \u0027content-type:application/json\u0027 \\"},{"line_number":133,"context_line":"    -H \u0027X-Auth-Token:e1f540bc6def456dbb0f8c11f21a74ae\u0027 \\"},{"line_number":134,"context_line":"    -d \u0027"},{"line_number":135,"context_line":"    {"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_47940ce1","line":132,"in_reply_to":"1aca2d91_2758fd31","updated":"2015-05-07 18:48:37.000000000","message":"Actually with current impl, client cannot add new ACL when existing ACL is already there as there is only one operation \u0027read\u0027 supported. So will either reword it or remove this example.\n\nIt will be useful only when more than one operation is allowed. Let\u0027s say \u0027read\u0027, \u0027write\u0027 operation is allowed. In that case, via PATCH, client can add new ACL for \u0027write\u0027 if existing ACL is defined only for \u0027read\u0027.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":150,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/e109049e-cf38-401e-a8d3-dcecca76135e/acls/259da5f8-d10f-45de-bbeb-50f0a573d08f\"}]"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"To update the creator-only flag value:"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":".. code-block:: bash"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"    Request:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_8716b1ef","line":153,"updated":"2015-05-07 14:05:52.000000000","message":"Is the implication that the user list is unmodified in this example?  Please make this explicit.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":150,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/e109049e-cf38-401e-a8d3-dcecca76135e/acls/259da5f8-d10f-45de-bbeb-50f0a573d08f\"}]"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"To update the creator-only flag value:"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":".. code-block:: bash"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"    Request:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_e73438fc","line":153,"in_reply_to":"1aca2d91_8716b1ef","updated":"2015-05-07 18:48:37.000000000","message":"Okay. Will add comment in doc to reflect that.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"af483da68d58acfa9b28c6af4b68208a10184f83","unresolved":false,"context_lines":[{"line_number":150,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/e109049e-cf38-401e-a8d3-dcecca76135e/acls/259da5f8-d10f-45de-bbeb-50f0a573d08f\"}]"},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"To update the creator-only flag value:"},{"line_number":153,"context_line":""},{"line_number":154,"context_line":".. code-block:: bash"},{"line_number":155,"context_line":""},{"line_number":156,"context_line":"    Request:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_8b30cf9f","line":153,"in_reply_to":"1aca2d91_e73438fc","updated":"2015-05-11 16:27:56.000000000","message":"Ah the fun of PATCH...this is why I wanted to punt on that feature for now :)\nI guess in general if you don\u0027t state an element/attribute in the PATCH, it leaves the current state unchanged?\n\nSo if you want to (say) remove the \u0027read\u0027 block, you\u0027d need to DELETE rather than:\n\nPATCH {\u0027read\u0027: {}}   (so with an empty block)\n\ncorrect?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"01a006e48af8a5b9e88fe485edf17b62f48b3dd9","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    Request:"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    curl -X GET -H \u0027X-Auth-Token:b44636bff48c41bbb80f459df69c11aa\u0027 \\"},{"line_number":237,"context_line":"    http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    Response:"},{"line_number":240,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_6205f1c0","line":237,"updated":"2015-05-06 14:50:17.000000000","message":"So I\u0027m thinking the UUID after \u0027acls\u0027 is not required then.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"9b87e24fc93d5f09512b4cdde943f0b9a4e6c0cf","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    Request:"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    curl -X GET -H \u0027X-Auth-Token:b44636bff48c41bbb80f459df69c11aa\u0027 \\"},{"line_number":237,"context_line":"    http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    Response:"},{"line_number":240,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_c3f27d9a","line":237,"in_reply_to":"1aca2d91_00c87054","updated":"2015-05-06 19:37:57.000000000","message":"Going forward, it would be good for API-modifying blueprints to include the complete docs for that revised API. I put that on the agenda to discuss in Liberty for sure. \n\nAs for this issue, we should definitely discuss this at the community level so not just my opinion here. If we do want to separate the acl actions though, it would still be more friendly to not have to deal with UUIDs to ACLs, as each secret/container will have the same basic ACL actions.  \n\nSo I\u0027d favor DELETE /secrets/{UUID}/acls/read for example. That way I don\u0027t have to make a separate call to get a list of acls, get the UUIDs, look up the UUID for the action I care about, and then making the call with that UUID.  \n\nI\u0027d still favor symmetrical calls too, but that\u0027s just me again, others need to consider. So to add \u0027read\u0027 ACL, do this:\n\nPOST  /secrets/{UUID}/acls/read\n\nThanks,\nJohn","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"9380529096f84edd0071173cbb88df263f9f5fb9","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    Request:"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    curl -X GET -H \u0027X-Auth-Token:b44636bff48c41bbb80f459df69c11aa\u0027 \\"},{"line_number":237,"context_line":"    http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    Response:"},{"line_number":240,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_478c1935","line":237,"in_reply_to":"1aca2d91_081be01c","updated":"2015-05-07 13:25:57.000000000","message":"I dig the newly proposed approach, getting rid of that ACL uuid is more intuitive IMO.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"19ab31aa25a63599a152354dd7631ab854ac18d5","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    Request:"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    curl -X GET -H \u0027X-Auth-Token:b44636bff48c41bbb80f459df69c11aa\u0027 \\"},{"line_number":237,"context_line":"    http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    Response:"},{"line_number":240,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_081be01c","line":237,"in_reply_to":"1aca2d91_48b0b843","updated":"2015-05-07 06:56:43.000000000","message":"Above mentioned changes are made in CR\n\nhttps://review.openstack.org/#/c/180888/","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"00b081fa7c3ff11f81e098b8a936a8021b0d03c9","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    Request:"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    curl -X GET -H \u0027X-Auth-Token:b44636bff48c41bbb80f459df69c11aa\u0027 \\"},{"line_number":237,"context_line":"    http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    Response:"},{"line_number":240,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_98f19ad0","line":237,"in_reply_to":"1aca2d91_6205f1c0","updated":"2015-05-06 15:25:58.000000000","message":"UUID is needed as there can be multiple acls defined for a secret as acl is defind per operation.\n\nWithout UUID, it just returns the list of acl references.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"5307117630a8749a11552b01dd117ac0fd1dd207","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    Request:"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    curl -X GET -H \u0027X-Auth-Token:b44636bff48c41bbb80f459df69c11aa\u0027 \\"},{"line_number":237,"context_line":"    http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    Response:"},{"line_number":240,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_00c87054","line":237,"in_reply_to":"1aca2d91_73eee1ed","updated":"2015-05-06 17:06:50.000000000","message":"Well, ACLs are not stored as a single entity so having the flexibility of managing those ACLs separately is useful e.g. implemented update behavior is PATCH so there is no way to remove single existing ACL record out of many if api DELETE /secrets/{UUID}/acls/{UUID} is not there.\n\n\nIf re-read the spec and see expected GET behavior on ACL was to return reference URL for ACL. http://specs.openstack.org/openstack/barbican-specs/specs/kilo/add-per-secret-policy.html#rest-api-impact\n\n\"\nACL data will not be returned by default with a GET request. Rather, a new route will be provided to retrieve the ACL:\n\nGET /secrets/\u003csecret_uuid\u003e/acl\n\nwhich would return the ACL as shown above. This endpoint would be limited to uid: \u003ccreator\u003e.\n\"\n\nI am not saying this can be implemented the way John has mentioned. But I was under the impression that team went over this in code review session, comments etc, we even discussed these APIs in code review. IMHO, might have been better to clarify then.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"ee62ea43b9696bc28d20b0ecbf2381178d74b8f1","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    Request:"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    curl -X GET -H \u0027X-Auth-Token:b44636bff48c41bbb80f459df69c11aa\u0027 \\"},{"line_number":237,"context_line":"    http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    Response:"},{"line_number":240,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_48b0b843","line":237,"in_reply_to":"1aca2d91_9541490e","updated":"2015-05-07 06:48:08.000000000","message":"Updated GET call response (removed acl_ref)\n\ncurl -v -X GET -H \u0027X-Auth-Token:05bc70e48fa649a29c6a0e777692db5e\u0027 http://localhost:9311/v1/secrets/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acl\n\n{  \n  \"read\":{  \n    \"updated\":\"2015-05-07T06:15:33.516920\",\n    \"created\":\"2015-04-27T23:37:18.862027\",\n    \"users\":[  \n      \"2d0ee7c681cc4549b6d76769c320d91f\"\n    ],\n    \"creator-only\":false\n  }\n}","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"f08e079152654880f6a0479f15f8acee29f36631","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    Request:"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    curl -X GET -H \u0027X-Auth-Token:b44636bff48c41bbb80f459df69c11aa\u0027 \\"},{"line_number":237,"context_line":"    http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    Response:"},{"line_number":240,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_73eee1ed","line":237,"in_reply_to":"1aca2d91_98f19ad0","updated":"2015-05-06 15:44:01.000000000","message":"Arun, I think that is the crux of the confusion here...when you specify ACLs for a secret, it is via a single JSON request. So my expectation was that a retrieve of this secret\u0027s ACL information would also be via a single JSON response. So each action would show up on that single JSON response. In this way, no separate entities/resources are required.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"725096f6b24af0bbc500672706adaa3b02a19a3c","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    Request:"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    curl -X GET -H \u0027X-Auth-Token:b44636bff48c41bbb80f459df69c11aa\u0027 \\"},{"line_number":237,"context_line":"    http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    Response:"},{"line_number":240,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_9541490e","line":237,"in_reply_to":"1aca2d91_a54b01b0","updated":"2015-05-07 06:17:35.000000000","message":"Just to be clear, this is the request/response format.\n\n# 1 (Get call for /secrets/{uuid}/acl )\n\ncurl -v -X GET -H \u0027X-Auth-Token:05bc70e48fa649a29c6a0e777692db5e\u0027 http://localhost:9311/v1/secrets/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acl\n\n{  \n  \"read\":{  \n    \"updated\":\"2015-05-05T23:57:26.567538\",\n    \"created\":\"2015-04-27T23:37:18.862027\",\n    \"users\":[  \n      \"c1d20e4b7e7d4917aee6f0832152269b\",\n      \"2d0ee7c681cc4549b6d76769c320d91f\"\n    ],\n    \"creator-only\":false\n  },\n  \"acl_ref\":\"http://localhost:9311/v1/secrets/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acl\"\n}\n\n# 2 (PUT call for /secrets/{uuid}/acl )\n\ncurl -v -X PUT -H \u0027content-type:application/json\u0027 -H \u0027X-Auth-Token:05bc70e48fa649a29c6a0e777692db5e\u0027 -d \u0027{\"read\":{ \"users\":[\"2d0ee7c681cc4549b6d76769c320d91f\"], \"creator-only\":false}}\u0027 http://localhost:9311/v1/secrets/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acl\n\n{\"acl_ref\": \"http://localhost:9311/v1/secrets/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acl\"}","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"dd85d163a92063661c0386da7850a2085a6467b3","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    Request:"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    curl -X GET -H \u0027X-Auth-Token:b44636bff48c41bbb80f459df69c11aa\u0027 \\"},{"line_number":237,"context_line":"    http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    Response:"},{"line_number":240,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_f4a08d92","line":237,"in_reply_to":"1aca2d91_c3f27d9a","updated":"2015-05-06 20:55:08.000000000","message":"I see value of having all acls data returned in GET call but it will be different from related spec (at least what I understand). \nInstead of having another additional API to access ACL data, if community does not want to have per ACL operations, let me know. I can make following changes.\n\n1) Remove all per ACL operation on secrets and containers (i.e. ../{uuid}/acls/{uuid}.\n\n2) Return list of acl data (not references) for GET /secrets_or_containers/{uuid}/acls. This will have per acl data with additional timestamp fields.\n\n3) Add PUT support for .../{uuid}/acls. (needed to remove/overwrite existing acls)\n\n4) What is expected response for POST/PUT calls as now there are no acl references?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"9b9e437febce8a5b35ce2d92b0e47743b3bd940e","unresolved":false,"context_lines":[{"line_number":234,"context_line":"    Request:"},{"line_number":235,"context_line":""},{"line_number":236,"context_line":"    curl -X GET -H \u0027X-Auth-Token:b44636bff48c41bbb80f459df69c11aa\u0027 \\"},{"line_number":237,"context_line":"    http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31/acls/8627858b-be3f-4ed6-b460-9922a797f045"},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"    Response:"},{"line_number":240,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_a54b01b0","line":237,"in_reply_to":"1aca2d91_f4a08d92","updated":"2015-05-06 22:20:54.000000000","message":"Thanks for the update Arun. Community discussion is welcome here!\nSo I would request tweaking step #2 to be:\n2) Return the same JSON message format that was put up in the POST, when GET /secrets_or_containers/{uuid}/acls is called. So a form like this would be returned: {\u0027read\u0027: {....}...}\n3) PUT would take the same JSON message format at for the POST request, and replace the ACL that is already on the secret/container\n\nAnother POST attempt would fail if an ACL was already set on the secret/container.\n\nDELETE /secrets_or_containers/{uuid}/acls would remove the ACL from secrets/container\n\nThe trickiest one is PATCH. It seems that if an element like \u0027read\u0027 is specified in the JSON, then it modifies the \u0027read\u0027 ACL as you already noted. IF not specified, then that part of the ACL is not changed.\n\nAgain, the community should weigh in on these changes.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"01a006e48af8a5b9e88fe485edf17b62f48b3dd9","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    HTTP/1.1 200 OK"},{"line_number":242,"context_line":"    {"},{"line_number":243,"context_line":"        \"status\": \"ACTIVE\","},{"line_number":244,"context_line":"        \"updated\": \"2015-04-29T01:04:22.768258\","},{"line_number":245,"context_line":"        \"created\": \"2015-04-28T23:09:33.824325\","},{"line_number":246,"context_line":"        \"secret_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31\","}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_22ab798b","line":243,"updated":"2015-05-06 14:50:17.000000000","message":"Since this response is combined from several entities \u0027under the hood\u0027, the only elements that should be in this response are the \u0027read\u0027: {...} ones.\nSo fields like \u0027status\u0027, \u0027updated\u0027, etc. should be removed I think.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"9b87e24fc93d5f09512b4cdde943f0b9a4e6c0cf","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    HTTP/1.1 200 OK"},{"line_number":242,"context_line":"    {"},{"line_number":243,"context_line":"        \"status\": \"ACTIVE\","},{"line_number":244,"context_line":"        \"updated\": \"2015-04-29T01:04:22.768258\","},{"line_number":245,"context_line":"        \"created\": \"2015-04-28T23:09:33.824325\","},{"line_number":246,"context_line":"        \"secret_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31\","}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_a3ef81af","line":243,"in_reply_to":"1aca2d91_00d990f3","updated":"2015-05-06 19:37:57.000000000","message":"Agreed.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"21833c53bc98fe5acd9fef55a9dd687dbd2530a3","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    HTTP/1.1 200 OK"},{"line_number":242,"context_line":"    {"},{"line_number":243,"context_line":"        \"status\": \"ACTIVE\","},{"line_number":244,"context_line":"        \"updated\": \"2015-04-29T01:04:22.768258\","},{"line_number":245,"context_line":"        \"created\": \"2015-04-28T23:09:33.824325\","},{"line_number":246,"context_line":"        \"secret_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31\","}],"source_content_type":"text/x-rst","patch_set":5,"id":"5ad58531_4d65b9df","line":243,"in_reply_to":"1aca2d91_0e7968c8","updated":"2015-05-11 19:14:10.000000000","message":"fair enough.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"00b081fa7c3ff11f81e098b8a936a8021b0d03c9","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    HTTP/1.1 200 OK"},{"line_number":242,"context_line":"    {"},{"line_number":243,"context_line":"        \"status\": \"ACTIVE\","},{"line_number":244,"context_line":"        \"updated\": \"2015-04-29T01:04:22.768258\","},{"line_number":245,"context_line":"        \"created\": \"2015-04-28T23:09:33.824325\","},{"line_number":246,"context_line":"        \"secret_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31\","}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_781d9ebc","line":243,"in_reply_to":"1aca2d91_22ab798b","updated":"2015-05-06 15:25:58.000000000","message":"ACL update (users or creator-only flag) always update ACL db record so updated timestamp is latest timestamp for ACL update.\n\nThis timestamp can be useful if someone wants to see when specific ACL was last updated. So far, this kind of data is returned in other barbican GET calls.\n\nLet me know if it still needs to be removed.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"1d4044b8fbfd47bae4f6d78127fc130777542989","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    HTTP/1.1 200 OK"},{"line_number":242,"context_line":"    {"},{"line_number":243,"context_line":"        \"status\": \"ACTIVE\","},{"line_number":244,"context_line":"        \"updated\": \"2015-04-29T01:04:22.768258\","},{"line_number":245,"context_line":"        \"created\": \"2015-04-28T23:09:33.824325\","},{"line_number":246,"context_line":"        \"secret_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31\","}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_0e7968c8","line":243,"in_reply_to":"1aca2d91_6535bbd8","updated":"2015-05-08 16:34:11.000000000","message":"I can see it being useful by support team or teams triaging issues related to ACL access changes. Similar to other resources, having knowledge of when it was created or last updated via API is useful as in production, generally direct access to service database is highly restricted and not many people are aware of service data models.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    HTTP/1.1 200 OK"},{"line_number":242,"context_line":"    {"},{"line_number":243,"context_line":"        \"status\": \"ACTIVE\","},{"line_number":244,"context_line":"        \"updated\": \"2015-04-29T01:04:22.768258\","},{"line_number":245,"context_line":"        \"created\": \"2015-04-28T23:09:33.824325\","},{"line_number":246,"context_line":"        \"secret_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31\","}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_e2854659","line":243,"in_reply_to":"1aca2d91_67b715d9","updated":"2015-05-07 18:48:37.000000000","message":"Generally not many users of Barbican service will have access to database. imho, its better to expose them via API.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"f08e079152654880f6a0479f15f8acee29f36631","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    HTTP/1.1 200 OK"},{"line_number":242,"context_line":"    {"},{"line_number":243,"context_line":"        \"status\": \"ACTIVE\","},{"line_number":244,"context_line":"        \"updated\": \"2015-04-29T01:04:22.768258\","},{"line_number":245,"context_line":"        \"created\": \"2015-04-28T23:09:33.824325\","},{"line_number":246,"context_line":"        \"secret_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31\","}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_b36a3919","line":243,"in_reply_to":"1aca2d91_781d9ebc","updated":"2015-05-06 15:44:01.000000000","message":"Arun, when the request is tied one for one to a specific entity, this totally  makes sense. When it is tied to a fusion of multiple entities as I\u0027m suggesting with the common JSON response above, data such as updated-date is more difficult to derive.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"9380529096f84edd0071173cbb88df263f9f5fb9","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    HTTP/1.1 200 OK"},{"line_number":242,"context_line":"    {"},{"line_number":243,"context_line":"        \"status\": \"ACTIVE\","},{"line_number":244,"context_line":"        \"updated\": \"2015-04-29T01:04:22.768258\","},{"line_number":245,"context_line":"        \"created\": \"2015-04-28T23:09:33.824325\","},{"line_number":246,"context_line":"        \"secret_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31\","}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_67b715d9","line":243,"in_reply_to":"1aca2d91_a3ef81af","updated":"2015-05-07 13:25:57.000000000","message":"I don\u0027t have a strong opinion about the \"updated\" being returned or not, as long as it is in the database somewhere.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"5307117630a8749a11552b01dd117ac0fd1dd207","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    HTTP/1.1 200 OK"},{"line_number":242,"context_line":"    {"},{"line_number":243,"context_line":"        \"status\": \"ACTIVE\","},{"line_number":244,"context_line":"        \"updated\": \"2015-04-29T01:04:22.768258\","},{"line_number":245,"context_line":"        \"created\": \"2015-04-28T23:09:33.824325\","},{"line_number":246,"context_line":"        \"secret_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31\","}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_00d990f3","line":243,"in_reply_to":"1aca2d91_b36a3919","updated":"2015-05-06 17:06:50.000000000","message":"Actually even in fusion of entities, there might be need to know when a specific ACL was updated as partial update is possible via PATCH. Having last update timestamp in API response is sometimes useful in triaging issues related to entry changes.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":10873,"name":"Juan Antonio Osorio Robles","email":"jaosorior@redhat.com","username":"ejuaoso"},"change_message_id":"c0d208d41331f929c2d028e322f719b1cb4960bb","unresolved":false,"context_lines":[{"line_number":240,"context_line":""},{"line_number":241,"context_line":"    HTTP/1.1 200 OK"},{"line_number":242,"context_line":"    {"},{"line_number":243,"context_line":"        \"status\": \"ACTIVE\","},{"line_number":244,"context_line":"        \"updated\": \"2015-04-29T01:04:22.768258\","},{"line_number":245,"context_line":"        \"created\": \"2015-04-28T23:09:33.824325\","},{"line_number":246,"context_line":"        \"secret_ref\": \"http://localhost:9311/v1/secrets/83c24e4f-8e73-47f8-b048-e5e1ba253a31\","}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_6535bbd8","line":243,"in_reply_to":"1aca2d91_e2854659","updated":"2015-05-08 09:32:01.000000000","message":"though, what use would a user have for this data? Wouldn\u0027t it be more relevant, for say, an auditor? which would actually look at the database at some point.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":2,"context_line":"ACL API - Quick Start"},{"line_number":3,"context_line":"*************************"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far,"},{"line_number":6,"context_line":"a user is allowed access to project resources based on the roles a user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use cases from OpenStack services where the above mentioned project based access"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_3dab4e8b","line":5,"updated":"2015-05-28 17:04:19.000000000","message":"Please change these first two sentences into something like this: \u0027By default Barbican manages access to its resources (secrets, containers) on a per project level, whereby a user is allowed access to project resources based on the roles a user has in that project\u0027.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":2,"context_line":"ACL API - Quick Start"},{"line_number":3,"context_line":"*************************"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far,"},{"line_number":6,"context_line":"a user is allowed access to project resources based on the roles a user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use cases from OpenStack services where the above mentioned project based access"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_25b8c874","line":5,"in_reply_to":"7a016987_3dab4e8b","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"06146411fbe86463fb0f9366f9d21f44c9bb3ec0","unresolved":false,"context_lines":[{"line_number":3,"context_line":"*************************"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far,"},{"line_number":6,"context_line":"a user is allowed access to project resources based on the roles a user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use cases from OpenStack services where the above mentioned project based access"},{"line_number":9,"context_line":"rules are not sufficient for managing their resources in Barbican. ACL support is added to"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_76a1e3a8","line":6,"updated":"2015-05-28 16:27:46.000000000","message":"I\u0027d change this to more of an active voice:\n... a user can access project resources ...","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":3,"context_line":"*************************"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far,"},{"line_number":6,"context_line":"a user is allowed access to project resources based on the roles a user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use cases from OpenStack services where the above mentioned project based access"},{"line_number":9,"context_line":"rules are not sufficient for managing their resources in Barbican. ACL support is added to"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_a5a4b84a","line":6,"in_reply_to":"7a016987_76a1e3a8","updated":"2015-05-28 23:27:17.000000000","message":"Will make change as John suggested, hopefully that will address this aspect as well.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far,"},{"line_number":6,"context_line":"a user is allowed access to project resources based on the roles a user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use cases from OpenStack services where the above mentioned project based access"},{"line_number":9,"context_line":"rules are not sufficient for managing their resources in Barbican. ACL support is added to"},{"line_number":10,"context_line":"augment these access rules for secret and container resources."},{"line_number":11,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_fd0c9643","line":8,"updated":"2015-05-28 17:04:19.000000000","message":"Please consider changing the second paragraph to:\n\nSome Barbican use cases prefer a more fine-grained access control for secrets and containers, such as at the user level. The access control list (ACL) feature supports this more restrictive access.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"06146411fbe86463fb0f9366f9d21f44c9bb3ec0","unresolved":false,"context_lines":[{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far,"},{"line_number":6,"context_line":"a user is allowed access to project resources based on the roles a user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use cases from OpenStack services where the above mentioned project based access"},{"line_number":9,"context_line":"rules are not sufficient for managing their resources in Barbican. ACL support is added to"},{"line_number":10,"context_line":"augment these access rules for secret and container resources."},{"line_number":11,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_d6777739","line":8,"updated":"2015-05-28 16:27:46.000000000","message":"has -\u003e have","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":5,"context_line":"Barbican manages access to its resources (secrets, containers) on a per project level. So far,"},{"line_number":6,"context_line":"a user is allowed access to project resources based on the roles a user has in that project."},{"line_number":7,"context_line":""},{"line_number":8,"context_line":"There has been use cases from OpenStack services where the above mentioned project based access"},{"line_number":9,"context_line":"rules are not sufficient for managing their resources in Barbican. ACL support is added to"},{"line_number":10,"context_line":"augment these access rules for secret and container resources."},{"line_number":11,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_a58dd8d4","line":8,"in_reply_to":"7a016987_fd0c9643","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":20,"context_line":"ACL Definition"},{"line_number":21,"context_line":"##############"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"ACL (Access Control List) defines a set of attributes which are used in policy based"},{"line_number":24,"context_line":"authorization to determine access to a target resource. ACL definition is operation specific and"},{"line_number":25,"context_line":"is defined per secret or per container."},{"line_number":26,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_40573d02","line":23,"updated":"2015-05-28 17:04:19.000000000","message":"Can just use ACL if it is spelled out above.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"06146411fbe86463fb0f9366f9d21f44c9bb3ec0","unresolved":false,"context_lines":[{"line_number":20,"context_line":"ACL Definition"},{"line_number":21,"context_line":"##############"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"ACL (Access Control List) defines a set of attributes which are used in policy based"},{"line_number":24,"context_line":"authorization to determine access to a target resource. ACL definition is operation specific and"},{"line_number":25,"context_line":"is defined per secret or per container."},{"line_number":26,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_169cef5b","line":23,"updated":"2015-05-28 16:27:46.000000000","message":"policy based -\u003e policy-based","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":20,"context_line":"ACL Definition"},{"line_number":21,"context_line":"##############"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"ACL (Access Control List) defines a set of attributes which are used in policy based"},{"line_number":24,"context_line":"authorization to determine access to a target resource. ACL definition is operation specific and"},{"line_number":25,"context_line":"is defined per secret or per container."},{"line_number":26,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_c57e94ae","line":23,"in_reply_to":"7a016987_169cef5b","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":24,"context_line":"authorization to determine access to a target resource. ACL definition is operation specific and"},{"line_number":25,"context_line":"is defined per secret or per container."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"ACLs are defined specific to resource operations. Currently classified operations are:"},{"line_number":28,"context_line":"  * `read`: For secrets, someone with ‘get’ permission will be able to retrieve secret metadata and"},{"line_number":29,"context_line":"    payload. For containers, it means ablility to retrieve the container (which is essentially all"},{"line_number":30,"context_line":"    metadata)."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_919a296d","line":27,"updated":"2015-05-28 17:04:19.000000000","message":"I\u0027m thinking the second sentence and bullets should change to:\n\nCurrently only the \u0027read\u0027 operation is defined. This supports allowing users on the ACL for a secret to retrieve its metadata or to decrypt its payload. This also allows users on the ACL for a container to retrieve its list of secret references.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":24,"context_line":"authorization to determine access to a target resource. ACL definition is operation specific and"},{"line_number":25,"context_line":"is defined per secret or per container."},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"ACLs are defined specific to resource operations. Currently classified operations are:"},{"line_number":28,"context_line":"  * `read`: For secrets, someone with ‘get’ permission will be able to retrieve secret metadata and"},{"line_number":29,"context_line":"    payload. For containers, it means ablility to retrieve the container (which is essentially all"},{"line_number":30,"context_line":"    metadata)."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_abb3694c","line":27,"in_reply_to":"7a016987_919a296d","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"06146411fbe86463fb0f9366f9d21f44c9bb3ec0","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"ACLs are defined specific to resource operations. Currently classified operations are:"},{"line_number":28,"context_line":"  * `read`: For secrets, someone with ‘get’ permission will be able to retrieve secret metadata and"},{"line_number":29,"context_line":"    payload. For containers, it means ablility to retrieve the container (which is essentially all"},{"line_number":30,"context_line":"    metadata)."},{"line_number":31,"context_line":"  * `list`: Ability to list secrets or containers under a project."},{"line_number":32,"context_line":"  * `write`: Ability to modify a secret or container. Currently typed containers and secrets are"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_76b683dd","line":29,"updated":"2015-05-28 16:27:46.000000000","message":"ablility -\u003e ability","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"ACLs are defined specific to resource operations. Currently classified operations are:"},{"line_number":28,"context_line":"  * `read`: For secrets, someone with ‘get’ permission will be able to retrieve secret metadata and"},{"line_number":29,"context_line":"    payload. For containers, it means ablility to retrieve the container (which is essentially all"},{"line_number":30,"context_line":"    metadata)."},{"line_number":31,"context_line":"  * `list`: Ability to list secrets or containers under a project."},{"line_number":32,"context_line":"  * `write`: Ability to modify a secret or container. Currently typed containers and secrets are"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_0bb15d47","line":29,"in_reply_to":"7a016987_76b683dd","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    immutable."},{"line_number":34,"context_line":"  * `delete`: Ability to delete a secret or container."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"These classifications are generic names for REST methods on a resource e.g. `read` maps to a **GET**"},{"line_number":37,"context_line":"call for a given secret."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"ACL allow a secret or a container to be marked private. Private secret/container means that only"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_71b68ddd","line":36,"updated":"2015-05-28 17:04:19.000000000","message":"I think this sentence can be removed.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    immutable."},{"line_number":34,"context_line":"  * `delete`: Ability to delete a secret or container."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"These classifications are generic names for REST methods on a resource e.g. `read` maps to a **GET**"},{"line_number":37,"context_line":"call for a given secret."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"ACL allow a secret or a container to be marked private. Private secret/container means that only"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_6b88d171","line":36,"in_reply_to":"7a016987_71b68ddd","updated":"2015-05-28 23:27:17.000000000","message":"Okay. Will remove it.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"06146411fbe86463fb0f9366f9d21f44c9bb3ec0","unresolved":false,"context_lines":[{"line_number":36,"context_line":"These classifications are generic names for REST methods on a resource e.g. `read` maps to a **GET**"},{"line_number":37,"context_line":"call for a given secret."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"ACL allow a secret or a container to be marked private. Private secret/container means that only"},{"line_number":40,"context_line":"the user who created the secret/container can extract secret. Users with necessary roles on"},{"line_number":41,"context_line":"secret/container project will not have access. To allow access to other users, their user ids need to"},{"line_number":42,"context_line":"be added in related ACL users list."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_96bfbfa9","line":39,"updated":"2015-05-28 16:27:46.000000000","message":"ACL -\u003e ACLs  ?","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":36,"context_line":"These classifications are generic names for REST methods on a resource e.g. `read` maps to a **GET**"},{"line_number":37,"context_line":"call for a given secret."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"ACL allow a secret or a container to be marked private. Private secret/container means that only"},{"line_number":40,"context_line":"the user who created the secret/container can extract secret. Users with necessary roles on"},{"line_number":41,"context_line":"secret/container project will not have access. To allow access to other users, their user ids need to"},{"line_number":42,"context_line":"be added in related ACL users list."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_2cb43af0","line":39,"updated":"2015-05-28 17:04:19.000000000","message":"Yeah so this eventually has to be reworded based on the opposite-logic we spoke of in Vancouver...see details in the cover comment please. We discussed having a follow on CR make that change though, so I\u0027m reserving review of this portion until then.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"540f4b2c15f1bdd5cb04d6e58c5c64b08964c9a6","unresolved":false,"context_lines":[{"line_number":36,"context_line":"These classifications are generic names for REST methods on a resource e.g. `read` maps to a **GET**"},{"line_number":37,"context_line":"call for a given secret."},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"ACL allow a secret or a container to be marked private. Private secret/container means that only"},{"line_number":40,"context_line":"the user who created the secret/container can extract secret. Users with necessary roles on"},{"line_number":41,"context_line":"secret/container project will not have access. To allow access to other users, their user ids need to"},{"line_number":42,"context_line":"be added in related ACL users list."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_1fb87f74","line":39,"in_reply_to":"7a016987_96bfbfa9","updated":"2015-05-28 17:15:10.000000000","message":"Sorry Kaitlin, I didn\u0027t have the right mode when I made my comments, so didn\u0027t see your embedded comments. I think ACL is better than ACLs as there is logically only one instance for the \u0027acl\u0027 resource. I have been suggesting \u0027ACL settings\u0027 though to indicate there is more than one setting to consider in that one ACL resource.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"06146411fbe86463fb0f9366f9d21f44c9bb3ec0","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"ACL allow a secret or a container to be marked private. Private secret/container means that only"},{"line_number":40,"context_line":"the user who created the secret/container can extract secret. Users with necessary roles on"},{"line_number":41,"context_line":"secret/container project will not have access. To allow access to other users, their user ids need to"},{"line_number":42,"context_line":"be added in related ACL users list."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"An operation specific ACL definition has following attribute:"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_96445fb7","line":41,"updated":"2015-05-28 16:27:46.000000000","message":"Nit: please move the o to the previous line","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"ACL allow a secret or a container to be marked private. Private secret/container means that only"},{"line_number":40,"context_line":"the user who created the secret/container can extract secret. Users with necessary roles on"},{"line_number":41,"context_line":"secret/container project will not have access. To allow access to other users, their user ids need to"},{"line_number":42,"context_line":"be added in related ACL users list."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"An operation specific ACL definition has following attribute:"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_2bf539ec","line":41,"in_reply_to":"7a016987_96445fb7","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":8623,"name":"Kaitlin Farr","email":"kaitlin.farr@jhuapl.edu","username":"kaitlin.farr"},"change_message_id":"06146411fbe86463fb0f9366f9d21f44c9bb3ec0","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    calls for a secret and a container resource will make use of ACL data. Other request methods on"},{"line_number":63,"context_line":"    secret and container resource still uses project level RBAC checks in policy."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"As per default policy rules, user with `admin` role in a secret/container project or user who has"},{"line_number":66,"context_line":"created the secret/container can manage ACL for that secret/container."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_9649ffb9","line":65,"updated":"2015-05-28 16:27:46.000000000","message":"user -\u003e a user\nuser -\u003e a user","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":62,"context_line":"    calls for a secret and a container resource will make use of ACL data. Other request methods on"},{"line_number":63,"context_line":"    secret and container resource still uses project level RBAC checks in policy."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"As per default policy rules, user with `admin` role in a secret/container project or user who has"},{"line_number":66,"context_line":"created the secret/container can manage ACL for that secret/container."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_ebdba17a","line":65,"in_reply_to":"7a016987_9649ffb9","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":66,"context_line":"created the secret/container can manage ACL for that secret/container."},{"line_number":67,"context_line":""},{"line_number":68,"context_line":""},{"line_number":69,"context_line":".. _create_acl:"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"How to Create ACL"},{"line_number":72,"context_line":"#################"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_0ca29e4b","line":69,"updated":"2015-05-28 17:04:19.000000000","message":"So it seems this entire section can be removed, in favor of the next section (at line 138)?\n\n_create_acl -\u003e _put_acl","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":".. _create_acl:"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"How to Create ACL"},{"line_number":72,"context_line":"#################"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"New ACL is added to existing secret or container via **PUT** method. This method is also used to"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_cc2126fe","line":71,"updated":"2015-05-28 17:04:19.000000000","message":"-\u003e How to Set/Replace ACL","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":71,"context_line":"How to Create ACL"},{"line_number":72,"context_line":"#################"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"New ACL is added to existing secret or container via **PUT** method. This method is also used to"},{"line_number":75,"context_line":"apply update to existing ACL(s). In this update, provided ACL data will completely replace existing"},{"line_number":76,"context_line":"ACL if any."},{"line_number":77,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_6cb6b2dd","line":74,"updated":"2015-05-28 17:04:19.000000000","message":"Please change this paragraph to something like this:\n\nThe ACL for an existing secret or container can be modified via a PUT to the \u0027acl\u0027 resource. This update completely replaces existing ACL settings for this secret or container.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":76,"context_line":"ACL if any."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"To create an ACL for a secret:"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":".. code-block:: bash"},{"line_number":82,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_0c0f3e89","line":79,"updated":"2015-05-28 17:04:19.000000000","message":"create -\u003e set/replace","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":76,"context_line":"ACL if any."},{"line_number":77,"context_line":""},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"To create an ACL for a secret:"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":".. code-block:: bash"},{"line_number":82,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_eb496132","line":79,"in_reply_to":"7a016987_0c0f3e89","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/15621a1b-efdf-41d8-92dc-356cec8e9da9/acl\"}"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"To create an ACL for a container:"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":".. code-block:: bash"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_ace5caa8","line":106,"updated":"2015-05-28 17:04:19.000000000","message":"create -\u003e set/replace","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":103,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/secrets/15621a1b-efdf-41d8-92dc-356cec8e9da9/acl\"}"},{"line_number":104,"context_line":""},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"To create an ACL for a container:"},{"line_number":107,"context_line":""},{"line_number":108,"context_line":".. code-block:: bash"},{"line_number":109,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_cb5225de","line":106,"in_reply_to":"7a016987_ace5caa8","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":129,"context_line":"    HTTP/1.1 201 Created"},{"line_number":130,"context_line":"    {\"acl_ref\": \"http://localhost:9311/v1/containers/8c077991-d524-4e15-8eaf-bc0c3bb225f2/acl\"}"},{"line_number":131,"context_line":""},{"line_number":132,"context_line":"To get more details on the create API you can reference the :ref:`Create Secret ACL \u003cput_secret_acl\u003e`"},{"line_number":133,"context_line":"or :ref:`Create Container ACL \u003cput_container_acl\u003e` documentation."},{"line_number":134,"context_line":""},{"line_number":135,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_4c66562a","line":132,"updated":"2015-05-28 17:04:19.000000000","message":"These reference names probably need to change as well.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":135,"context_line":""},{"line_number":136,"context_line":".. _update_acl:"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"How to Update ACL"},{"line_number":139,"context_line":"#################"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"Existing ACL can be updated via **PUT** or **PATCH** methods on a given secret/container."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_964fbc33","line":138,"updated":"2015-05-28 17:04:19.000000000","message":"Well ok then, the entire previous section can just be removed in favor of this section it seems.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":138,"context_line":"How to Update ACL"},{"line_number":139,"context_line":"#################"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"Existing ACL can be updated via **PUT** or **PATCH** methods on a given secret/container."},{"line_number":142,"context_line":"**PUT** interaction replaces existing ACL with provided ACL data whereas **PATCH**"},{"line_number":143,"context_line":"interaction applies the provided changes on existing ACL of a secret or a container."},{"line_number":144,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_79831357","line":141,"updated":"2015-05-28 17:04:19.000000000","message":"Please add \u0027The\u0027 here.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":138,"context_line":"How to Update ACL"},{"line_number":139,"context_line":"#################"},{"line_number":140,"context_line":""},{"line_number":141,"context_line":"Existing ACL can be updated via **PUT** or **PATCH** methods on a given secret/container."},{"line_number":142,"context_line":"**PUT** interaction replaces existing ACL with provided ACL data whereas **PATCH**"},{"line_number":143,"context_line":"interaction applies the provided changes on existing ACL of a secret or a container."},{"line_number":144,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_ab66c9b8","line":141,"in_reply_to":"7a016987_79831357","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":140,"context_line":""},{"line_number":141,"context_line":"Existing ACL can be updated via **PUT** or **PATCH** methods on a given secret/container."},{"line_number":142,"context_line":"**PUT** interaction replaces existing ACL with provided ACL data whereas **PATCH**"},{"line_number":143,"context_line":"interaction applies the provided changes on existing ACL of a secret or a container."},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"To update an existing ACL for a container:"},{"line_number":146,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_d6e53409","line":143,"updated":"2015-05-28 17:04:19.000000000","message":"Please add \u0027just\u0027 after \u0027applies\u0027.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":140,"context_line":""},{"line_number":141,"context_line":"Existing ACL can be updated via **PUT** or **PATCH** methods on a given secret/container."},{"line_number":142,"context_line":"**PUT** interaction replaces existing ACL with provided ACL data whereas **PATCH**"},{"line_number":143,"context_line":"interaction applies the provided changes on existing ACL of a secret or a container."},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"To update an existing ACL for a container:"},{"line_number":146,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_eb704174","line":143,"in_reply_to":"7a016987_d6e53409","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":142,"context_line":"**PUT** interaction replaces existing ACL with provided ACL data whereas **PATCH**"},{"line_number":143,"context_line":"interaction applies the provided changes on existing ACL of a secret or a container."},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"To update an existing ACL for a container:"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":".. code-block:: bash"},{"line_number":148,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_d6cc148b","line":145,"updated":"2015-05-28 17:04:19.000000000","message":"update -\u003e set/replace","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":142,"context_line":"**PUT** interaction replaces existing ACL with provided ACL data whereas **PATCH**"},{"line_number":143,"context_line":"interaction applies the provided changes on existing ACL of a secret or a container."},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"To update an existing ACL for a container:"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":".. code-block:: bash"},{"line_number":148,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_4b5515c0","line":145,"in_reply_to":"7a016987_d6cc148b","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":251,"context_line":"How to Retrieve ACL"},{"line_number":252,"context_line":"###################"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"ACL(s) defined for a secret or container can be retrieved by using a **GET** operation on respective **acl** resource."},{"line_number":255,"context_line":"The returned response contains ACL data."},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"To get secret ACL data:"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_39791b83","line":254,"updated":"2015-05-28 17:04:19.000000000","message":"ACL(s) -\u003e The ACL","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":251,"context_line":"How to Retrieve ACL"},{"line_number":252,"context_line":"###################"},{"line_number":253,"context_line":""},{"line_number":254,"context_line":"ACL(s) defined for a secret or container can be retrieved by using a **GET** operation on respective **acl** resource."},{"line_number":255,"context_line":"The returned response contains ACL data."},{"line_number":256,"context_line":""},{"line_number":257,"context_line":"To get secret ACL data:"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_2b11b904","line":254,"in_reply_to":"7a016987_39791b83","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"}],"doc/source/api/reference/acls.rst":[{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":".. note::"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    This feature is applicable only when barbican is used in authenticated"},{"line_number":12,"context_line":"    pipeline i.e. integrated with Keystone. In unauthenticated context, ACL"},{"line_number":13,"context_line":"    support is not there."},{"line_number":14,"context_line":" "}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_8c3164ef","line":11,"updated":"2015-04-29 04:23:44.000000000","message":"\"barbican\" -\u003e \"Barbican\"\n\"in authenticated\" -\u003e \"in an authenticated\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":9,"context_line":".. note::"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    This feature is applicable only when barbican is used in authenticated"},{"line_number":12,"context_line":"    pipeline i.e. integrated with Keystone. In unauthenticated context, ACL"},{"line_number":13,"context_line":"    support is not there."},{"line_number":14,"context_line":" "},{"line_number":15,"context_line":".. note::"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_0c5c3424","line":12,"updated":"2015-04-29 04:23:44.000000000","message":"\"In unauthenticated\" -\u003e \"In an unauthenticated\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":14,"context_line":" "},{"line_number":15,"context_line":".. note::"},{"line_number":16,"context_line":"    "},{"line_number":17,"context_line":"    Currently, ACLs defined for a container are not propgated down to"},{"line_number":18,"context_line":"    associated secrets."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_cc3e3cb8","line":17,"updated":"2015-04-29 04:23:44.000000000","message":"Spelling: \"propgated\" -\u003e \"propagated\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":27,"context_line":"###########################"},{"line_number":28,"context_line":"Lists all ACLs associated with a given secret."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"If no ACLs are defined for that secret, then 404 (not found) error is returned."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Parameters"},{"line_number":33,"context_line":"**********"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ac4b0059","line":30,"updated":"2015-04-29 04:23:44.000000000","message":"\"then 404\" -\u003e \"then a 404\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":40,"context_line":"+----------+---------+--------------------------------------------------------------+"},{"line_number":41,"context_line":"| Name     | Type    | Description                                                  |"},{"line_number":42,"context_line":"+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+"},{"line_number":43,"context_line":"| acl_ref  | list    | Contains a list of acl references.                           |"},{"line_number":44,"context_line":"+----------+---------+--------------------------------------------------------------+"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_6c74c89b","line":43,"updated":"2015-04-29 04:23:44.000000000","message":"\"acl\" -\u003e \"ACL\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":67,"context_line":"Create new ACLs for a given secret."},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"This call is used to add new ACLs when there are no ACLs defined for a secret. If this method"},{"line_number":70,"context_line":"is used when ACLs already exist, then 400 (bad request) error is raised. Use PATCH method to apply"},{"line_number":71,"context_line":"ACL updates. Returns list of ACL references on successful creation."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Attributes"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_4c790c93","line":70,"updated":"2015-04-29 04:23:44.000000000","message":"\"then 400\" -\u003e \"then a 400\" PATCH bold?","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"This call is used to add new ACLs when there are no ACLs defined for a secret. If this method"},{"line_number":70,"context_line":"is used when ACLs already exist, then 400 (bad request) error is raised. Use PATCH method to apply"},{"line_number":71,"context_line":"ACL updates. Returns list of ACL references on successful creation."},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"Attributes"},{"line_number":74,"context_line":"**********"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_2c6ed0c9","line":71,"updated":"2015-04-29 04:23:44.000000000","message":"\"Returns list\" -\u003e \"Returns a list\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":79,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":80,"context_line":"|                            | element  |                                               |          |"},{"line_number":81,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":82,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":83,"context_line":"|                            |          | user id as returned by Keystone.              |          |"},{"line_number":84,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":85,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a secret private so   | `false`  |"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ec68d8bc","line":82,"updated":"2015-04-29 04:23:44.000000000","message":"\"to be\" -\u003e \"to be a\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":83,"context_line":"|                            |          | user id as returned by Keystone.              |          |"},{"line_number":84,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":85,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a secret private so   | `false`  |"},{"line_number":86,"context_line":"|                            |          | that user who created the secret and ``users``|          |"},{"line_number":87,"context_line":"|                            |          | specified in above list can only access the   |          |"},{"line_number":88,"context_line":"|                            |          | secret. Pass `true` to mark secret private.   |          |"},{"line_number":89,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ac62e0d6","line":86,"updated":"2015-04-29 04:23:44.000000000","message":"\"that user\" -\u003e \"that the user\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":85,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a secret private so   | `false`  |"},{"line_number":86,"context_line":"|                            |          | that user who created the secret and ``users``|          |"},{"line_number":87,"context_line":"|                            |          | specified in above list can only access the   |          |"},{"line_number":88,"context_line":"|                            |          | secret. Pass `true` to mark secret private.   |          |"},{"line_number":89,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":".. note::"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_6c9ba8ca","line":88,"updated":"2015-04-29 04:23:44.000000000","message":"\"mark secret\" -\u003e \"mark the secret\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":90,"context_line":""},{"line_number":91,"context_line":".. note::"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    Atleast one of ``users`` or ``creator-only`` value is needed in payload data."},{"line_number":94,"context_line":""},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Request:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_4ca0ecf4","line":93,"updated":"2015-04-29 04:23:44.000000000","message":"Spelling: \"Atleast\" -\u003e \"At least\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":147,"context_line":"PATCH /v1/secrets/{uuid}/acls"},{"line_number":148,"context_line":"#############################"},{"line_number":149,"context_line":""},{"line_number":150,"context_line":"Update a secret\u0027s ACLs. This can be used to replace existing ACL users list, enable or disable"},{"line_number":151,"context_line":"creator-only flag for existing ACL. List of users provided replaces existing users if any."},{"line_number":152,"context_line":"This API can also be used to define new ACL definition for \u0027list\u0027, \u0027write\u0027, \u0027delete\u0027 operations."},{"line_number":153,"context_line":"Returns list of acl references available for provided secret."}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_0caaf4d4","line":150,"updated":"2015-04-29 04:23:44.000000000","message":"\"replace existing\" -\u003e \"replace an existing\" \n\"list, enable\" -\u003e \"list or enable\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":150,"context_line":"Update a secret\u0027s ACLs. This can be used to replace existing ACL users list, enable or disable"},{"line_number":151,"context_line":"creator-only flag for existing ACL. List of users provided replaces existing users if any."},{"line_number":152,"context_line":"This API can also be used to define new ACL definition for \u0027list\u0027, \u0027write\u0027, \u0027delete\u0027 operations."},{"line_number":153,"context_line":"Returns list of acl references available for provided secret."},{"line_number":154,"context_line":""},{"line_number":155,"context_line":".. note::"},{"line_number":156,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_6c828854","line":153,"updated":"2015-04-29 04:23:44.000000000","message":"Returns list of acl references\" -\u003e \"Returns a list of ACL references\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":154,"context_line":""},{"line_number":155,"context_line":".. note::"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    Currently barbican default policy, just makes use of \u0027read\u0027 ACL definition data only i.e."},{"line_number":158,"context_line":"    other definitions if defined for a secret are not used for authorization checks."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"Attributes"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_2c7c9071","line":157,"updated":"2015-04-29 04:23:44.000000000","message":"\"Currently barbican default policy, just makes\" -\u003e \"Currently, Barbican\u0027s default policy just makes\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":166,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":167,"context_line":"|                            | element  |                                               |          |"},{"line_number":168,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":169,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":170,"context_line":"|                            |          | user id as returned by Keystone. Replaces     |          |"},{"line_number":171,"context_line":"|                            |          | all existing users with input users list.     |          |"},{"line_number":172,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ac90a096","line":169,"updated":"2015-04-29 04:23:44.000000000","message":"\"to be\" -\u003e \"to be a\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":171,"context_line":"|                            |          | all existing users with input users list.     |          |"},{"line_number":172,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":173,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a secret private so   | None     |"},{"line_number":174,"context_line":"|                            |          | that user who created the secret and ``users``|          |"},{"line_number":175,"context_line":"|                            |          | specified in above list can only access the   |          |"},{"line_number":176,"context_line":"|                            |          | secret. Pass `true` to mark secret private.   |          |"},{"line_number":177,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_8c0044ac","line":174,"updated":"2015-04-29 04:23:44.000000000","message":"\"that user who created\" -\u003e \"that the user who created\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":228,"context_line":"DELETE /v1/secrets/{uuid}/acls"},{"line_number":229,"context_line":"##############################"},{"line_number":230,"context_line":""},{"line_number":231,"context_line":"Delete all ACLs for a given secret. No content is returned in case on successful"},{"line_number":232,"context_line":"deletion."},{"line_number":233,"context_line":""},{"line_number":234,"context_line":"Request:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_8c1724ed","line":231,"updated":"2015-04-29 04:23:44.000000000","message":"\"in case\" -\u003e \"in the case\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":339,"context_line":"|                            |          | all existing users with input users list.     |          |"},{"line_number":340,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":341,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a secret private so   | None     |"},{"line_number":342,"context_line":"|                            |          | that user who created the secret and ``users``|          |"},{"line_number":343,"context_line":"|                            |          | specified in above list can only access the   |          |"},{"line_number":344,"context_line":"|                            |          | secret. Pass `true` to mark secret private.   |          |"},{"line_number":345,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_6ce9681a","line":342,"updated":"2015-04-29 04:23:44.000000000","message":"\"that user who created\" -\u003e \"that the user who created\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":381,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":382,"context_line":"| 400  | Bad Request.                                                                |"},{"line_number":383,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":384,"context_line":"| 404  | Invalid secret uuid or no ACL found for given ACL uuid.                     |"},{"line_number":385,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":386,"context_line":"| 401  | Missing or Invalid X-Auth-Token. Authentication required.                   |"},{"line_number":387,"context_line":"+------+-----------------------------------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_4c310ca2","line":384,"updated":"2015-04-29 04:23:44.000000000","message":"\"uuid\" -\u003e \"UUID\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":395,"context_line":"DELETE /v1/secrets/{uuid}/acls/{uuid}"},{"line_number":396,"context_line":"#####################################"},{"line_number":397,"context_line":""},{"line_number":398,"context_line":"Delete ACL by id for a secret. No content is returned in case of successful deletion."},{"line_number":399,"context_line":""},{"line_number":400,"context_line":"Request:"},{"line_number":401,"context_line":"****************"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ec20d84b","line":398,"updated":"2015-04-29 04:23:44.000000000","message":"\"in case\" -\u003e \"in the case\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":438,"context_line":"##############################"},{"line_number":439,"context_line":"Lists all ACLs associated with a given container."},{"line_number":440,"context_line":""},{"line_number":441,"context_line":"If no ACLs are defined for that container, then 404 (not found) error is returned."},{"line_number":442,"context_line":""},{"line_number":443,"context_line":"Parameters"},{"line_number":444,"context_line":"**********"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_2c26d068","line":441,"updated":"2015-04-29 04:23:44.000000000","message":"\"container, then 404\" -\u003e \"container then a 404\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":494,"context_line":"|                            |          | user id as returned by Keystone.              |          |"},{"line_number":495,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":496,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a container private   | `false`  |"},{"line_number":497,"context_line":"|                            |          | so that user who created the container and    |          |"},{"line_number":498,"context_line":"|                            |          | ``users`` specified in above list can only    |          |"},{"line_number":499,"context_line":"|                            |          | access the container. Pass `true` to mark     |          |"},{"line_number":500,"context_line":"|                            |          | container private.                            |          |"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_0cf8b4e4","line":497,"updated":"2015-04-29 04:23:44.000000000","message":"\"that user who created\" -\u003e \"that the user who created\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":566,"context_line":""},{"line_number":567,"context_line":".. note::"},{"line_number":568,"context_line":""},{"line_number":569,"context_line":"    Currently barbican default policy, just makes use of \u0027read\u0027 ACL definition data only i.e."},{"line_number":570,"context_line":"    other definitions if defined for a container are not used for authorization checks."},{"line_number":571,"context_line":""},{"line_number":572,"context_line":"Attributes"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_0c1434f3","line":569,"updated":"2015-04-29 04:23:44.000000000","message":"\"Currently barbican default policy, just makes\" -\u003e \"Currently, Barbican\u0027s default policy just makes\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":578,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":579,"context_line":"|                            | element  |                                               |          |"},{"line_number":580,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":581,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":582,"context_line":"|                            |          | user id as returned by Keystone. Replaces     |          |"},{"line_number":583,"context_line":"|                            |          | all existing users with input users list.     |          |"},{"line_number":584,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ecf9f8c9","line":581,"updated":"2015-04-29 04:23:44.000000000","message":"\"to be\" -\u003e \"to be a\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":627,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":628,"context_line":"| 400  | Bad Request.                                                                |"},{"line_number":629,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":630,"context_line":"| 404  | Invalid container uuid or no ACLs defined for given container uuid.         |"},{"line_number":631,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":632,"context_line":"| 401  | Missing or Invalid X-Auth-Token. Authentication required.                   |"},{"line_number":633,"context_line":"+------+-----------------------------------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ec72187c","line":630,"updated":"2015-04-29 04:23:44.000000000","message":"\"uuid\" -\u003e \"UUID\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":641,"context_line":"DELETE /v1/containers/{uuid}/acls"},{"line_number":642,"context_line":"#################################"},{"line_number":643,"context_line":""},{"line_number":644,"context_line":"Delete all ACLs for a given container. No content is returned in case on successful"},{"line_number":645,"context_line":"deletion."},{"line_number":646,"context_line":""},{"line_number":647,"context_line":"Request:"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_6c5e08eb","line":644,"updated":"2015-04-29 04:23:44.000000000","message":"\"in case\" -\u003e \"in the case\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":670,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":671,"context_line":"| 401  | Missing or Invalid X-Auth-Token. Authentication required.                   |"},{"line_number":672,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":673,"context_line":"| 404  | Invalid container uuid or no ACLs defined for given container uuid.         |"},{"line_number":674,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":675,"context_line":"| 403  | User does not have have permission to access this resource.                 |"},{"line_number":676,"context_line":"+------+-----------------------------------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ec4b382a","line":673,"updated":"2015-04-29 04:23:44.000000000","message":"\"uuid\" -\u003e \"UUID\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":679,"context_line":""},{"line_number":680,"context_line":"GET /v1/containers/{uuid}/acls/{uuid}"},{"line_number":681,"context_line":"#####################################"},{"line_number":682,"context_line":"Retrieves a containers\u0027s ACL definition via ACL uuid."},{"line_number":683,"context_line":""},{"line_number":684,"context_line":"Request:"},{"line_number":685,"context_line":"********"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_4c3c6c93","line":682,"updated":"2015-04-29 04:23:44.000000000","message":"\"uuid\" -\u003e \"UUID\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":720,"context_line":"+\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+"},{"line_number":721,"context_line":"| 200  | Successful in getting a container ACL definition.                           |"},{"line_number":722,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":723,"context_line":"| 404  | Invalid container uuid or ACL uuid.                                         |"},{"line_number":724,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":725,"context_line":"| 401  | Missing or Invalid X-Auth-Token. Authentication required.                   |"},{"line_number":726,"context_line":"+------+-----------------------------------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_acbe60fd","line":723,"updated":"2015-04-29 04:23:44.000000000","message":"\"uuid\" -\u003e \"UUID\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":734,"context_line":"#######################################"},{"line_number":735,"context_line":""},{"line_number":736,"context_line":"Update a container\u0027s ACL for a given ACL id. This can be used to replace existing ACL users"},{"line_number":737,"context_line":"list, enable or disable creator-only flag for existing ACL. List of users provided replaces"},{"line_number":738,"context_line":"existing users if any. Existing ACL operation update is not allowed."},{"line_number":739,"context_line":""},{"line_number":740,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ccc19c82","line":737,"updated":"2015-04-29 04:23:44.000000000","message":"\"list, enable\" -\u003e \"list or enable\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":747,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":748,"context_line":"|                            | element  |                                               |          |"},{"line_number":749,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":750,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":751,"context_line":"|                            |          | user id as returned by Keystone. Replaces     |          |"},{"line_number":752,"context_line":"|                            |          | all existing users with input users list.     |          |"},{"line_number":753,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_4cd58c41","line":750,"updated":"2015-04-29 04:23:44.000000000","message":"\"to be\" -\u003e \"to be a\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":752,"context_line":"|                            |          | all existing users with input users list.     |          |"},{"line_number":753,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":754,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a container private so| None     |"},{"line_number":755,"context_line":"|                            |          | that user who created the container and       |          |"},{"line_number":756,"context_line":"|                            |          | ``users`` specified in above list can only    |          |"},{"line_number":757,"context_line":"|                            |          | access the container. Pass `true` to mark     |          |"},{"line_number":758,"context_line":"|                            |          | container private.                            |          |"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ecc45893","line":755,"updated":"2015-04-29 04:23:44.000000000","message":"\"that user who created\" -\u003e \"that the user who created\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":795,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":796,"context_line":"| 400  | Bad Request.                                                                |"},{"line_number":797,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":798,"context_line":"| 404  | Invalid container uuid or no ACL found for given ACL uuid.                  |"},{"line_number":799,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":800,"context_line":"| 401  | Missing or Invalid X-Auth-Token. Authentication required.                   |"},{"line_number":801,"context_line":"+------+-----------------------------------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_8ce4c43b","line":798,"updated":"2015-04-29 04:23:44.000000000","message":"\"uuid\" -\u003e \"UUID\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7136,"name":"Chad Lung","email":"chad.lung@gmail.com","username":"chadlung"},"change_message_id":"a191c488fd779413564ca1a4bce8c262f06b9cf9","unresolved":false,"context_lines":[{"line_number":809,"context_line":"DELETE /v1/containers/{uuid}/acls/{uuid}"},{"line_number":810,"context_line":"########################################"},{"line_number":811,"context_line":""},{"line_number":812,"context_line":"Delete ACL by id for a container. No content is returned in case of successful deletion."},{"line_number":813,"context_line":""},{"line_number":814,"context_line":"Request:"},{"line_number":815,"context_line":"****************"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5ad0253b_ace7803f","line":812,"updated":"2015-04-29 04:23:44.000000000","message":"\"in case\" -\u003e \"in the case\"","commit_id":"928f2f2577538f6e5e4c77c8306950844c719a09"},{"author":{"_account_id":7973,"name":"Douglas Mendizábal","email":"dmendiza@redhat.com","username":"dougmendizabal"},"change_message_id":"2aa77a8f564b84b8674da0c75907b7da1b2e25d5","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":".. note::"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    This feature is considered experimental and is supported since Kilo."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":".. note::"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3acd31a7_b66e8094","line":7,"updated":"2015-05-01 03:49:42.000000000","message":"Please remove this notice.  This feature should be fully supported since it\u0027s part of the Kilo release.","commit_id":"9f63a84d470f4d6a5788af11bef570c5ab148a33"},{"author":{"_account_id":7973,"name":"Douglas Mendizábal","email":"dmendiza@redhat.com","username":"dougmendizabal"},"change_message_id":"116a263065f0a5ec8cdab0be3b09f3bfb879f781","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":".. note::"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    This feature is considered experimental and is supported since Kilo."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":".. note::"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3acd31a7_d1a57c04","line":7,"in_reply_to":"3acd31a7_a8dcd812","updated":"2015-05-01 16:45:31.000000000","message":"Thanks for removing the notice.  I want to say that allowing one cycle of battle-testing may be true for configurable features.  Since we don\u0027t have a config option to turn ACL off completely, I\u0027m hesitant to call it \"experimental\".  Mainly because it seems like a cop-out for justifying bugs.\n\nI hindsight maybe it would have been better to disable this feature by default and allow operators to opt-in, with the disclaimer that they\u0027re using bleeding edge features that may not be fully fleshed out.\n\nI think that going forward we may want to consider feature flags for new features.","commit_id":"9f63a84d470f4d6a5788af11bef570c5ab148a33"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"71c78b6a8d37be5d325f6282c90a2d13ef3120cc","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":".. note::"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    This feature is considered experimental and is supported since Kilo."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":".. note::"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-rst","patch_set":3,"id":"3acd31a7_a8dcd812","line":7,"in_reply_to":"3acd31a7_b66e8094","updated":"2015-05-01 15:45:27.000000000","message":"Okay. Will do. I was under the impression, generally new features are considered experimental in openstack for one cycle, to weed out any issues before they marked stable.","commit_id":"9f63a84d470f4d6a5788af11bef570c5ab148a33"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"a2e3e2e1bf1431de9e54e19728ff84eac793a2d8","unresolved":false,"context_lines":[{"line_number":261,"context_line":""},{"line_number":262,"context_line":".. _get_secret_acl:"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"GET /v1/secrets/{uuid}/acls/{uuid}"},{"line_number":265,"context_line":"#############################################"},{"line_number":266,"context_line":"Retrieves a secret\u0027s ACL definition via ACL UUID."},{"line_number":267,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3acd31a7_20a9b524","line":264,"updated":"2015-05-05 13:28:32.000000000","message":"Sorry for missing this but I didn\u0027t think we needed to expose the ACL UUIDs to the API? The request is a unified JSON request, with all action, users, private flag info specified in one JSON message. The response should be symmetrical as well. I re-read the spec and that\u0027s my read of GET behavior there but I should have asked for more explicit response examples. Sorry for my confusion here, but I\u0027d like to discuss further in channel.","commit_id":"403a52cc6a3a20c18b1320244663df2234e8a849"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"b2449d396c1de2bc089624d34027a94e483132ea","unresolved":false,"context_lines":[{"line_number":261,"context_line":""},{"line_number":262,"context_line":".. _get_secret_acl:"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"GET /v1/secrets/{uuid}/acls/{uuid}"},{"line_number":265,"context_line":"#############################################"},{"line_number":266,"context_line":"Retrieves a secret\u0027s ACL definition via ACL UUID."},{"line_number":267,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"1aca2d91_622611bc","line":264,"in_reply_to":"3acd31a7_0365911c","updated":"2015-05-06 14:41:13.000000000","message":"Dave, the intent is to combine the various ACL actions into one JSON request and response, so:\n{\n   \u0027read\u0027: {...}\n   \u0027delete\u0027: {...}\n   ...\n}\n\nUnder the hood these things might be stored in several records in several entities, but there should be no reason to expose those underlying details to the clients. So there really should be no need for a /secrets/\u003cUUID\u003e/acls/\u003cUUID\u003e path at all then.\n\nArun, Douglas\u0027 point is that if you don\u0027t have a UUID after the \u0027acls\u0027, then you really just have one ACL resource per secret/container (as far as the client sees), and so a singular \u0027acl\u0027 for the sub-resource would make sense. I think it would be good to get the API-WG\u0027s thoughts on this though.","commit_id":"403a52cc6a3a20c18b1320244663df2234e8a849"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"a6c748880b5700c62f3a55bf8628ee2df8cae00b","unresolved":false,"context_lines":[{"line_number":261,"context_line":""},{"line_number":262,"context_line":".. _get_secret_acl:"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"GET /v1/secrets/{uuid}/acls/{uuid}"},{"line_number":265,"context_line":"#############################################"},{"line_number":266,"context_line":"Retrieves a secret\u0027s ACL definition via ACL UUID."},{"line_number":267,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3acd31a7_88278bc9","line":264,"in_reply_to":"3acd31a7_20a9b524","updated":"2015-05-05 16:29:58.000000000","message":"GET ACL by UUID call is needed as that\u0027s the only call which provides the actual ACL data. All \u0027v1/secrets/{UUID}/\u0027 APIs generally provides acl reference URL in response. If client wants to add/remove users or set creator-only flag, then client can use this API to look into existing ACL data and then apply updates accordingly.\n\nAbout structure of response, earlier I debated whether to return db data as-is or convert db data into request format. I looked into GET secrets by UUID call and noticed that some of the input and output fields data format is different e.g. \n\n(request) \"\"payload_content_type\": \"application/octet-stream\" \n---\u003e \n(response)\n    \"content_types\": {\n        \"default\": \"application/octet-stream\"\n    }\n\nAs ACL was developed in short span, so kept the response without any conversion and was hoping if there are any concerns, it would come up in code review.\n\nIf there is any concern in response format, it can be changed very easily as its format change only.","commit_id":"403a52cc6a3a20c18b1320244663df2234e8a849"},{"author":{"_account_id":7973,"name":"Douglas Mendizábal","email":"dmendiza@redhat.com","username":"dougmendizabal"},"change_message_id":"b020126a53271500fda65a86378d67811fc8bc3f","unresolved":false,"context_lines":[{"line_number":261,"context_line":""},{"line_number":262,"context_line":".. _get_secret_acl:"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"GET /v1/secrets/{uuid}/acls/{uuid}"},{"line_number":265,"context_line":"#############################################"},{"line_number":266,"context_line":"Retrieves a secret\u0027s ACL definition via ACL UUID."},{"line_number":267,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3acd31a7_b2b18903","line":264,"in_reply_to":"3acd31a7_88278bc9","updated":"2015-05-05 21:39:47.000000000","message":"It is quite unfortunate that nobody had an issue with this during review, because this is certainly not the behavior I would expect after reading the SPEC.\n\nJohn, I also noticed this, but was going to play around with the ACL some more before filing a bug. I decided not to hold this CR because we desperately need more documentation.\n\nReading the spec, it\u0027s clear to me that each secret only has a single access control list associated with it, so /secrets/UUID/acls/UUID isn\u0027t necessary.  It should be /secrets/UUID/acl singular, and it should return the current acl JSON.\n\nI think this is something that needs to be fixed both in master and stable/kilo, and I think it would be best if the docs show the way that it\u0027s supposed to work, not the way it works now.","commit_id":"403a52cc6a3a20c18b1320244663df2234e8a849"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"1c7ec344ffd6f7a907a22c792b12467b5a1cc86a","unresolved":false,"context_lines":[{"line_number":261,"context_line":""},{"line_number":262,"context_line":".. _get_secret_acl:"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"GET /v1/secrets/{uuid}/acls/{uuid}"},{"line_number":265,"context_line":"#############################################"},{"line_number":266,"context_line":"Retrieves a secret\u0027s ACL definition via ACL UUID."},{"line_number":267,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3acd31a7_0365911c","line":264,"in_reply_to":"3acd31a7_b2b18903","updated":"2015-05-05 23:51:28.000000000","message":"I am addressing the response format difference in https://review.openstack.org/#/c/180353/ . Currently, I don\u0027t have bug created for this, so addressing another bug and linking with this change. Can link related bug once created.\n\nWill update the docs in next patch to show the updated response.\n\nFor \u0027acls\u0027 in URI /secrets/{UUID}/acls/{UUID}, I see barbican has pretty standard convention of having plural resource name and then accessing individual resource data by Id. Is there any reason, that has to change here?","commit_id":"403a52cc6a3a20c18b1320244663df2234e8a849"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"e5e999f1544ee57a1fb6596e1a32c866d0bd0d8b","unresolved":false,"context_lines":[{"line_number":261,"context_line":""},{"line_number":262,"context_line":".. _get_secret_acl:"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"GET /v1/secrets/{uuid}/acls/{uuid}"},{"line_number":265,"context_line":"#############################################"},{"line_number":266,"context_line":"Retrieves a secret\u0027s ACL definition via ACL UUID."},{"line_number":267,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3acd31a7_85cc09bc","line":264,"in_reply_to":"3acd31a7_b2b18903","updated":"2015-05-05 21:52:32.000000000","message":"The design intends to include the future plan of having 4 ACLs per entity (read, write, list, and delete).","commit_id":"403a52cc6a3a20c18b1320244663df2234e8a849"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"a2e3e2e1bf1431de9e54e19728ff84eac793a2d8","unresolved":false,"context_lines":[{"line_number":290,"context_line":"        ],"},{"line_number":291,"context_line":"        \"created\":\"2015-04-27T23:37:18.862027\","},{"line_number":292,"context_line":"        \"secret_ref\":\"{host_uri}/v1/secrets/8fdc26b9-a5cf-4992-ad09-bab315160f7b\","},{"line_number":293,"context_line":"        \"operation\":\"read\","},{"line_number":294,"context_line":"        \"creator-only\":true,"},{"line_number":295,"context_line":"        \"acl_ref\":\"{host_uri}/v1/secrets/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls/d1ec94c4-ac23-4013-b544-af44b5308d81\""},{"line_number":296,"context_line":"    }"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3acd31a7_a055c5fa","line":293,"updated":"2015-05-05 13:28:32.000000000","message":"Is this response correct? There should be a \u0027read\u0027 block with the \u0027users\u0027 list inside, like the POST request has, correct?","commit_id":"403a52cc6a3a20c18b1320244663df2234e8a849"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"a6c748880b5700c62f3a55bf8628ee2df8cae00b","unresolved":false,"context_lines":[{"line_number":290,"context_line":"        ],"},{"line_number":291,"context_line":"        \"created\":\"2015-04-27T23:37:18.862027\","},{"line_number":292,"context_line":"        \"secret_ref\":\"{host_uri}/v1/secrets/8fdc26b9-a5cf-4992-ad09-bab315160f7b\","},{"line_number":293,"context_line":"        \"operation\":\"read\","},{"line_number":294,"context_line":"        \"creator-only\":true,"},{"line_number":295,"context_line":"        \"acl_ref\":\"{host_uri}/v1/secrets/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls/d1ec94c4-ac23-4013-b544-af44b5308d81\""},{"line_number":296,"context_line":"    }"}],"source_content_type":"text/x-rst","patch_set":4,"id":"3acd31a7_482df3a6","line":293,"in_reply_to":"3acd31a7_a055c5fa","updated":"2015-05-05 16:29:58.000000000","message":"Please see above answer for details.","commit_id":"403a52cc6a3a20c18b1320244663df2234e8a849"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"a2e3e2e1bf1431de9e54e19728ff84eac793a2d8","unresolved":false,"context_lines":[{"line_number":355,"context_line":"    {"},{"line_number":356,"context_line":"        \"read\":"},{"line_number":357,"context_line":"            {"},{"line_number":358,"context_line":"                \"creator-only\":true"},{"line_number":359,"context_line":"            }"},{"line_number":360,"context_line":"    }"},{"line_number":361,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3acd31a7_a07a6575","line":358,"updated":"2015-05-05 13:28:32.000000000","message":"So is the users list removed here, or else is it untouched? It would be helpful to add a note about that here.","commit_id":"403a52cc6a3a20c18b1320244663df2234e8a849"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"a6c748880b5700c62f3a55bf8628ee2df8cae00b","unresolved":false,"context_lines":[{"line_number":355,"context_line":"    {"},{"line_number":356,"context_line":"        \"read\":"},{"line_number":357,"context_line":"            {"},{"line_number":358,"context_line":"                \"creator-only\":true"},{"line_number":359,"context_line":"            }"},{"line_number":360,"context_line":"    }"},{"line_number":361,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"3acd31a7_474283af","line":358,"in_reply_to":"3acd31a7_a07a6575","updated":"2015-05-05 16:29:58.000000000","message":"Its untouched in this case. To delete existing list of users, it should be empty list for \u0027users\u0027. Looks like, it would be good to have an example for that.","commit_id":"403a52cc6a3a20c18b1320244663df2234e8a849"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":75,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":76,"context_line":"|                            | element  |                                               |          |"},{"line_number":77,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":78,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":79,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":80,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":81,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a secret private so   | `false`  |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_ba22e0ff","line":78,"updated":"2015-05-07 14:05:52.000000000","message":"Is the default for users an empty list?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":75,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":76,"context_line":"|                            | element  |                                               |          |"},{"line_number":77,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":78,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":79,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":80,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":81,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a secret private so   | `false`  |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_c2412a0d","line":78,"in_reply_to":"1aca2d91_ba22e0ff","updated":"2015-05-07 18:48:37.000000000","message":"In that case, there are no users added in ACL side. I can make it empty list to make it explicit.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":".. note::"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    At least one of ``users`` or ``creator-only`` value is needed in payload data."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Request:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_fa38583f","line":90,"updated":"2015-05-07 14:05:52.000000000","message":"Will 400 be returned for \nan ACL of \"{}\" and an ACL of \"{read:{}}\"\nWhat about \"{read:{users:[]}}\"?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":87,"context_line":""},{"line_number":88,"context_line":".. note::"},{"line_number":89,"context_line":""},{"line_number":90,"context_line":"    At least one of ``users`` or ``creator-only`` value is needed in payload data."},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"Request:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_42c99a77","line":90,"in_reply_to":"1aca2d91_fa38583f","updated":"2015-05-07 18:48:37.000000000","message":"I was trying to say that both of attribute values are not necessary in payload. So looks like it need to be made clear.\n\nNo it will not return 400 as its going to use creator-only default. It will create ACL entry without any related ACLUser entry.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":164,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":165,"context_line":"|                            | element  |                                               |          |"},{"line_number":166,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":167,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":168,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":169,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":170,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a secret private so   | None     |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_3a649047","line":167,"updated":"2015-05-07 14:05:52.000000000","message":"Is the default [] or do not change?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":164,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":165,"context_line":"|                            | element  |                                               |          |"},{"line_number":166,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":167,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":168,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":169,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":170,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a secret private so   | None     |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_a2ae2e96","line":167,"in_reply_to":"1aca2d91_3a649047","updated":"2015-05-07 18:48:37.000000000","message":"Here it would not change if users is not specified in payload. If specified, empty list or list of ids will replace the existing users list.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":167,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":168,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":169,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":170,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a secret private so   | None     |"},{"line_number":171,"context_line":"|                            |          | that the user who created the secret and      |          |"},{"line_number":172,"context_line":"|                            |          | ``users`` specified in above list can only    |          |"},{"line_number":173,"context_line":"|                            |          | access the secret. Pass `true` to mark the    |          |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_ba69c027","line":170,"updated":"2015-05-07 14:05:52.000000000","message":"Is the default false or do not change?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":167,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":168,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":169,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":170,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a secret private so   | None     |"},{"line_number":171,"context_line":"|                            |          | that the user who created the secret and      |          |"},{"line_number":172,"context_line":"|                            |          | ``users`` specified in above list can only    |          |"},{"line_number":173,"context_line":"|                            |          | access the secret. Pass `true` to mark the    |          |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_22d7beee","line":170,"in_reply_to":"1aca2d91_ba69c027","updated":"2015-05-07 18:48:37.000000000","message":"If field is not included in payload, it would not change as its partial update via PATCH.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"01a006e48af8a5b9e88fe485edf17b62f48b3dd9","unresolved":false,"context_lines":[{"line_number":200,"context_line":""},{"line_number":201,"context_line":"    200 OK"},{"line_number":202,"context_line":""},{"line_number":203,"context_line":"    [{\"acl_ref\": \"{host_uri}/v1/secrets/39ec4258-c136-44d0-988b-7857a9cbb3a6/acls/bd8c1b40-e43b-4998-8db7-7482778ee761\"}]"},{"line_number":204,"context_line":"    "},{"line_number":205,"context_line":""},{"line_number":206,"context_line":"Request:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_a276693c","line":203,"updated":"2015-05-06 14:50:17.000000000","message":"So I\u0027d think there would be no UUID after \u0027acls\u0027.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":220,"context_line":"        \"read\":"},{"line_number":221,"context_line":"            {"},{"line_number":222,"context_line":"                \"users\":[],"},{"line_number":223,"context_line":"                \"creator-only\":false"},{"line_number":224,"context_line":"            }"},{"line_number":225,"context_line":"    }"},{"line_number":226,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_3ad7f024","line":223,"updated":"2015-05-07 14:05:52.000000000","message":"This example also appears to change the creator-only flag too.  Some extra clarification on how to modify only one of the fields (if possible) would be helpful.  Or, should (or is) the behavior for PATCH to always overwrite the whole ACL?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":220,"context_line":"        \"read\":"},{"line_number":221,"context_line":"            {"},{"line_number":222,"context_line":"                \"users\":[],"},{"line_number":223,"context_line":"                \"creator-only\":false"},{"line_number":224,"context_line":"            }"},{"line_number":225,"context_line":"    }"},{"line_number":226,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_02c84221","line":223,"in_reply_to":"1aca2d91_3ad7f024","updated":"2015-05-07 18:48:37.000000000","message":"Here PATCH is intended to allow partial update which means if field is not present, then existing value is unchanged.\n\nI was trying to highlight how to remove existing users, presence of creator-only should not matter.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"01a006e48af8a5b9e88fe485edf17b62f48b3dd9","unresolved":false,"context_lines":[{"line_number":293,"context_line":""},{"line_number":294,"context_line":".. _get_secret_acl:"},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"GET /v1/secrets/{uuid}/acls/{uuid}"},{"line_number":297,"context_line":"#############################################"},{"line_number":298,"context_line":"Retrieves a secret\u0027s ACL definition via ACL UUID."},{"line_number":299,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_4209d594","line":296,"updated":"2015-05-06 14:50:17.000000000","message":"Just noting there is lots of discussion on Patch 4 that doesn\u0027t carry over there.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"01a006e48af8a5b9e88fe485edf17b62f48b3dd9","unresolved":false,"context_lines":[{"line_number":302,"context_line":""},{"line_number":303,"context_line":".. code-block:: none"},{"line_number":304,"context_line":""},{"line_number":305,"context_line":"    GET /v1/secrets/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls/d1ec94c4-ac23-4013-b544-af44b5308d81"},{"line_number":306,"context_line":"    Headers:"},{"line_number":307,"context_line":"        X-Auth-Token: e1f540bc6def456dbb0f8c11f21a74ae"},{"line_number":308,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_025f5d73","line":305,"updated":"2015-05-06 14:50:17.000000000","message":"Similar to above comment, so no UUID after \u0027acls\u0027. Similar issues are below...","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"01a006e48af8a5b9e88fe485edf17b62f48b3dd9","unresolved":false,"context_lines":[{"line_number":315,"context_line":"    200 OK"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"    {"},{"line_number":318,"context_line":"        \"status\":\"ACTIVE\","},{"line_number":319,"context_line":"        \"updated\":\"2015-04-27T23:37:18.862376\","},{"line_number":320,"context_line":"        \"created\":\"2015-04-27T23:37:18.862027\","},{"line_number":321,"context_line":"        \"acl_ref\":\"{host_uri}/v1/secrets/8fdc26b9-a5cf-4992-ad09-bab315160f7b/acls/d1ec94c4-ac23-4013-b544-af44b5308d81\","}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_a220a9f8","line":318,"updated":"2015-05-06 14:50:17.000000000","message":"Similar to above comment, so no \u0027status\u0027, et. al. fields needed. Similar issues are below...","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":427,"context_line":"#####################################"},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"Delete ACL by id for a secret. No content is returned in the case of successful deletion."},{"line_number":430,"context_line":""},{"line_number":431,"context_line":"Request:"},{"line_number":432,"context_line":"****************"},{"line_number":433,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_3d512a0f","line":430,"updated":"2015-05-07 14:05:52.000000000","message":"Is content returned in the error case?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":427,"context_line":"#####################################"},{"line_number":428,"context_line":""},{"line_number":429,"context_line":"Delete ACL by id for a secret. No content is returned in the case of successful deletion."},{"line_number":430,"context_line":""},{"line_number":431,"context_line":"Request:"},{"line_number":432,"context_line":"****************"},{"line_number":433,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_c2e80a7f","line":430,"in_reply_to":"1aca2d91_3d512a0f","updated":"2015-05-07 18:48:37.000000000","message":"Error response is returned in case of error.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":511,"context_line":"This call is used to add new ACLs when there are no ACLs defined for a container. If this method"},{"line_number":512,"context_line":"is used when ACLs already exist, then 400 (bad request) error is raised. Use PATCH method to apply"},{"line_number":513,"context_line":"ACL updates. Returns list of ACL references on successful creation. To delete existing"},{"line_number":514,"context_line":"users from an ACL definition, pass empty list [] for `users`."},{"line_number":515,"context_line":""},{"line_number":516,"context_line":"Attributes"},{"line_number":517,"context_line":"**********"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_ddb0f645","line":514,"updated":"2015-05-07 14:05:52.000000000","message":"Last sentence does not apply to POST section.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":511,"context_line":"This call is used to add new ACLs when there are no ACLs defined for a container. If this method"},{"line_number":512,"context_line":"is used when ACLs already exist, then 400 (bad request) error is raised. Use PATCH method to apply"},{"line_number":513,"context_line":"ACL updates. Returns list of ACL references on successful creation. To delete existing"},{"line_number":514,"context_line":"users from an ACL definition, pass empty list [] for `users`."},{"line_number":515,"context_line":""},{"line_number":516,"context_line":"Attributes"},{"line_number":517,"context_line":"**********"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_029602f0","line":514,"in_reply_to":"1aca2d91_ddb0f645","updated":"2015-05-07 18:48:37.000000000","message":"Good catch. Will remove from here.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":522,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":523,"context_line":"|                            | element  |                                               |          |"},{"line_number":524,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":525,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":526,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":527,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":528,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a container private   | `false`  |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_3d86ca65","line":525,"updated":"2015-05-07 14:05:52.000000000","message":"Is the default an empty list?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":522,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":523,"context_line":"|                            | element  |                                               |          |"},{"line_number":524,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":525,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":526,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":527,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":528,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a container private   | `false`  |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_4294fae0","line":525,"in_reply_to":"1aca2d91_3d86ca65","updated":"2015-05-07 18:48:37.000000000","message":"Will make empty list as default.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":534,"context_line":""},{"line_number":535,"context_line":".. note::"},{"line_number":536,"context_line":""},{"line_number":537,"context_line":"    Atleast one of ``users`` or ``creator-only`` value is needed in payload data."},{"line_number":538,"context_line":""},{"line_number":539,"context_line":""},{"line_number":540,"context_line":"Request:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_7d8c427f","line":537,"updated":"2015-05-07 14:05:52.000000000","message":"Is expected response 400 in this case?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":534,"context_line":""},{"line_number":535,"context_line":".. note::"},{"line_number":536,"context_line":""},{"line_number":537,"context_line":"    Atleast one of ``users`` or ``creator-only`` value is needed in payload data."},{"line_number":538,"context_line":""},{"line_number":539,"context_line":""},{"line_number":540,"context_line":"Request:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_a2474e76","line":537,"in_reply_to":"1aca2d91_7d8c427f","updated":"2015-05-07 18:48:37.000000000","message":"Please see response on line #78","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":610,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":611,"context_line":"|                            | element  |                                               |          |"},{"line_number":612,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":613,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":614,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":615,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":616,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a container private   | None     |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_9d6dde9a","line":613,"updated":"2015-05-07 14:05:52.000000000","message":"Is default no change?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":610,"context_line":"| read                       | parent   | ACL data for read operation.                  | None     |"},{"line_number":611,"context_line":"|                            | element  |                                               |          |"},{"line_number":612,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":613,"context_line":"| users                      | [string] | (optional) List of user ids. This needs to be | None     |"},{"line_number":614,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":615,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":616,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a container private   | None     |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_222b3e96","line":613,"in_reply_to":"1aca2d91_9d6dde9a","updated":"2015-05-07 18:48:37.000000000","message":"Please see response on line #167","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":614,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":615,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":616,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a container private   | None     |"},{"line_number":617,"context_line":"|                            |          | so that the user who created the container and|          |"},{"line_number":618,"context_line":"|                            |          | ``users`` specified in above list can only    |          |"},{"line_number":619,"context_line":"|                            |          | access the container. Pass `true` to mark the |          |"},{"line_number":620,"context_line":"|                            |          | container private.                            |          |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_5d0626cf","line":617,"updated":"2015-05-07 14:05:52.000000000","message":"Is default no change?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":614,"context_line":"|                            |          | a user id as returned by Keystone.            |          |"},{"line_number":615,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":616,"context_line":"| creator-only               | boolean  | (optional) Flag to mark a container private   | None     |"},{"line_number":617,"context_line":"|                            |          | so that the user who created the container and|          |"},{"line_number":618,"context_line":"|                            |          | ``users`` specified in above list can only    |          |"},{"line_number":619,"context_line":"|                            |          | access the container. Pass `true` to mark the |          |"},{"line_number":620,"context_line":"|                            |          | container private.                            |          |"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_e21b067f","line":617,"in_reply_to":"1aca2d91_5d0626cf","updated":"2015-05-07 18:48:37.000000000","message":"Please see response on line #170","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":619,"context_line":"|                            |          | access the container. Pass `true` to mark the |          |"},{"line_number":620,"context_line":"|                            |          | container private.                            |          |"},{"line_number":621,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":622,"context_line":""},{"line_number":623,"context_line":"Request:"},{"line_number":624,"context_line":"********"},{"line_number":625,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_bde3fa04","line":622,"updated":"2015-05-07 14:05:52.000000000","message":"What is expected behavior if any empty ACL ({} or {read:{}} is sent for update?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":619,"context_line":"|                            |          | access the container. Pass `true` to mark the |          |"},{"line_number":620,"context_line":"|                            |          | container private.                            |          |"},{"line_number":621,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":622,"context_line":""},{"line_number":623,"context_line":"Request:"},{"line_number":624,"context_line":"********"},{"line_number":625,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_d65a0b2a","line":622,"in_reply_to":"1aca2d91_bde3fa04","updated":"2015-05-07 18:48:37.000000000","message":"No it will not return 400 for read: {} payload as it will keep the existing values.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":674,"context_line":""},{"line_number":675,"context_line":"Delete all ACLs for a given container. No content is returned in the case of successful"},{"line_number":676,"context_line":"deletion."},{"line_number":677,"context_line":""},{"line_number":678,"context_line":"Request:"},{"line_number":679,"context_line":"****************"},{"line_number":680,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_9dc95e7b","line":677,"updated":"2015-05-07 14:05:52.000000000","message":"What content is returned on error?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":674,"context_line":""},{"line_number":675,"context_line":"Delete all ACLs for a given container. No content is returned in the case of successful"},{"line_number":676,"context_line":"deletion."},{"line_number":677,"context_line":""},{"line_number":678,"context_line":"Request:"},{"line_number":679,"context_line":"****************"},{"line_number":680,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_d67fab64","line":677,"in_reply_to":"1aca2d91_9dc95e7b","updated":"2015-05-07 18:48:37.000000000","message":"Using common Barbican error response which has json error payload with http error code.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":11561,"name":"Dave McCowan","email":"dmccowan@cisco.com","username":"dave-mccowan"},"change_message_id":"057e0f55957d652141da798bdabb82e8869646b5","unresolved":false,"context_lines":[{"line_number":693,"context_line":""},{"line_number":694,"context_line":"HTTP Status Codes"},{"line_number":695,"context_line":"*****************"},{"line_number":696,"context_line":""},{"line_number":697,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":698,"context_line":"| Code | Description                                                                 |"},{"line_number":699,"context_line":"+\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_fdae1297","line":696,"updated":"2015-05-07 14:05:52.000000000","message":"Is there an error if a secret/container has no ACL?","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"b3b2d4ed496e53583beb89938d35bea77953cadf","unresolved":false,"context_lines":[{"line_number":693,"context_line":""},{"line_number":694,"context_line":"HTTP Status Codes"},{"line_number":695,"context_line":"*****************"},{"line_number":696,"context_line":""},{"line_number":697,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":698,"context_line":"| Code | Description                                                                 |"},{"line_number":699,"context_line":"+\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+"}],"source_content_type":"text/x-rst","patch_set":5,"id":"1aca2d91_f66e27c8","line":696,"in_reply_to":"1aca2d91_fdae1297","updated":"2015-05-07 18:48:37.000000000","message":"Yes 404 as mentioned in table below.","commit_id":"adaf5fac8d2c19807602e6cf1e6e9c3c06d64b9b"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    This feature is applicable only when Barbican is used in an authenticated"},{"line_number":8,"context_line":"    pipeline i.e. integrated with Keystone. In an unauthenticated context, ACL"},{"line_number":9,"context_line":"    support is not there."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":".. note::"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_59d61750","line":9,"updated":"2015-05-28 17:04:19.000000000","message":"I think the 2nd sentence can be removed.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"    This feature is applicable only when Barbican is used in an authenticated"},{"line_number":8,"context_line":"    pipeline i.e. integrated with Keystone. In an unauthenticated context, ACL"},{"line_number":9,"context_line":"    support is not there."},{"line_number":10,"context_line":""},{"line_number":11,"context_line":".. note::"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_cb73454d","line":9,"in_reply_to":"7a016987_59d61750","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":".. note::"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    Currently, ACL defined for a container are not propagated down to"},{"line_number":14,"context_line":"    associated secrets."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. warning::"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_7938b3a0","line":13,"updated":"2015-05-28 17:04:19.000000000","message":"Maybe change to:\n\nCurrently the access control list (ACL) settings defined for a container are not propagated...","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":".. note::"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    Currently, ACL defined for a container are not propagated down to"},{"line_number":14,"context_line":"    associated secrets."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":".. warning::"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_ab700941","line":13,"in_reply_to":"7a016987_7938b3a0","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"GET /v1/secrets/{uuid}/acl"},{"line_number":27,"context_line":"##########################"},{"line_number":28,"context_line":"Get ACL availale for a given secret."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"If no ACL is defined for that secret, then empty dictionary `{}` is returned."},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_590bb7d6","line":28,"updated":"2015-05-28 17:04:19.000000000","message":"-\u003e Retrieves the ACL settings for...","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"GET /v1/secrets/{uuid}/acl"},{"line_number":27,"context_line":"##########################"},{"line_number":28,"context_line":"Get ACL availale for a given secret."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"If no ACL is defined for that secret, then empty dictionary `{}` is returned."},{"line_number":31,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_8b90ad44","line":28,"in_reply_to":"7a016987_590bb7d6","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":27,"context_line":"##########################"},{"line_number":28,"context_line":"Get ACL availale for a given secret."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"If no ACL is defined for that secret, then empty dictionary `{}` is returned."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Request/Response (With ACL defined):"},{"line_number":33,"context_line":"************************************"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_f921434e","line":30,"updated":"2015-05-28 17:04:19.000000000","message":"Add \u0027an\u0027 between \u0027then\u0027 and \u0027empty\u0027.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":27,"context_line":"##########################"},{"line_number":28,"context_line":"Get ACL availale for a given secret."},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"If no ACL is defined for that secret, then empty dictionary `{}` is returned."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"Request/Response (With ACL defined):"},{"line_number":33,"context_line":"************************************"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_6b957131","line":30,"in_reply_to":"7a016987_f921434e","updated":"2015-05-28 23:27:17.000000000","message":"Will change in next patch.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":9914,"name":"Ade Lee","email":"alee@redhat.com","username":"alee"},"change_message_id":"75aefb2e1be1ff8069a48c03ce54793b9fff01e0","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    Response:"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    HTTP/1.1 200 OK"},{"line_number":74,"context_line":"    {}"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""},{"line_number":77,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_84219b4f","line":74,"updated":"2015-05-29 14:46:01.000000000","message":"Of course, as discussed in Vancouver, this will change if no acl is defined.  To be done in follow-on CR.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":87,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":88,"context_line":"| 403  | User does not have have permission to access this resource.                 |"},{"line_number":89,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":90,"context_line":"| 404  | Invalid secret UUID.                                                        |"},{"line_number":91,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":".. _put_secret_acl:"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_5fef171e","line":90,"updated":"2015-05-28 17:04:19.000000000","message":"Invalid secret UUID -\u003e Secret not found for the given UUID","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":94,"context_line":""},{"line_number":95,"context_line":"PUT /v1/secrets/{uuid}/acl"},{"line_number":96,"context_line":"##########################"},{"line_number":97,"context_line":"Create new or update existing ACL for a given secret."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"This call is used to add new ACL for a secret. If ACL already exists on a secret, then this method"},{"line_number":100,"context_line":"can be used to make a complete update. This update replaces existing ACL with provided ACL data."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_7c2d4145","line":97,"updated":"2015-05-28 17:04:19.000000000","message":"Create new or update existing -\u003e Creates new or replaces existing?","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":96,"context_line":"##########################"},{"line_number":97,"context_line":"Create new or update existing ACL for a given secret."},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"This call is used to add new ACL for a secret. If ACL already exists on a secret, then this method"},{"line_number":100,"context_line":"can be used to make a complete update. This update replaces existing ACL with provided ACL data."},{"line_number":101,"context_line":"In case of create (first new ACL),  201 is returned in success case and 200 is returned in update"},{"line_number":102,"context_line":"cases. To delete existing users from an ACL definition, pass empty list [] for `users`."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_199bff67","line":99,"updated":"2015-05-28 17:04:19.000000000","message":"Maybe combine the 2nd and 3rd sentences into:\n\nIf the ACL is already set on a secret, this method will replace it with the requested ACL settings.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"This call is used to add new ACL for a secret. If ACL already exists on a secret, then this method"},{"line_number":100,"context_line":"can be used to make a complete update. This update replaces existing ACL with provided ACL data."},{"line_number":101,"context_line":"In case of create (first new ACL),  201 is returned in success case and 200 is returned in update"},{"line_number":102,"context_line":"cases. To delete existing users from an ACL definition, pass empty list [] for `users`."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"Returns an ACL reference in success case."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_d9f6878e","line":101,"updated":"2015-05-28 17:04:19.000000000","message":"It seems a 200 response is sufficient? The ACL resource is always there relative to the client experience...so I don\u0027t get a 404 back from the \u0027acl\u0027 resource after I do a DELETE on it, just an empty dict.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":9914,"name":"Ade Lee","email":"alee@redhat.com","username":"alee"},"change_message_id":"75aefb2e1be1ff8069a48c03ce54793b9fff01e0","unresolved":false,"context_lines":[{"line_number":98,"context_line":""},{"line_number":99,"context_line":"This call is used to add new ACL for a secret. If ACL already exists on a secret, then this method"},{"line_number":100,"context_line":"can be used to make a complete update. This update replaces existing ACL with provided ACL data."},{"line_number":101,"context_line":"In case of create (first new ACL),  201 is returned in success case and 200 is returned in update"},{"line_number":102,"context_line":"cases. To delete existing users from an ACL definition, pass empty list [] for `users`."},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"Returns an ACL reference in success case."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_c47e731a","line":101,"in_reply_to":"7a016987_d9f6878e","updated":"2015-05-29 14:46:01.000000000","message":"This is even more clearer when we make the change we discussed in Vancouver, and return {\"project_access\": \"True\"} when no acl has been defined.  From the clients point of view, there is always an ACL.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":103,"context_line":""},{"line_number":104,"context_line":"Returns an ACL reference in success case."},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"This API can also be used to define new ACL definition for \u0027list\u0027, \u0027write\u0027, \u0027delete\u0027"},{"line_number":107,"context_line":"operations (when supported in Barbican ACL API)."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":".. note::"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_99dfefd5","line":106,"updated":"2015-05-28 17:04:19.000000000","message":"I think this sentence can be removed.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":106,"context_line":"This API can also be used to define new ACL definition for \u0027list\u0027, \u0027write\u0027, \u0027delete\u0027"},{"line_number":107,"context_line":"operations (when supported in Barbican ACL API)."},{"line_number":108,"context_line":""},{"line_number":109,"context_line":".. note::"},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"    Currently Barbican\u0027s default policy just makes use of \u0027read\u0027 ACL definition data only i.e."},{"line_number":112,"context_line":"    other definitions if defined for a secret are not used for authorization checks."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_396a3bee","line":109,"updated":"2015-05-28 17:04:19.000000000","message":"I think this note can be removed in favor of a sentence in the Attributes section below...","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":113,"context_line":""},{"line_number":114,"context_line":"Attributes"},{"line_number":115,"context_line":"**********"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":118,"context_line":"| Attribute Name             | Type     | Description                                   | Default  |"},{"line_number":119,"context_line":"+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_5c3de58d","line":116,"updated":"2015-05-28 17:04:19.000000000","message":"I think this is generic information that should be put before the individual REST operation sections. So then you could have a into sentence like this:\n\nThe ACL resource detailed on this page allows access to individual secrets and containers to be controlled. This access is configured via operations on those secrets and containers. Currently only the \u0027read\u0027 operation (which includes GET REST actions) is supported. \n\nThe ACL settings for a given secret or container are expressed in a JSON format, as described in the the following table:","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":157,"context_line":""},{"line_number":158,"context_line":"    Response:"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"    HTTP/1.1 201 Created"},{"line_number":161,"context_line":"    {\"acl_ref\": \"https://{barbican_host}/v1/secrets/{uuid}/acl\"}"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Request/Response (Update ACL):"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_1c5acdf2","line":160,"updated":"2015-05-28 17:04:19.000000000","message":"See comment above...I don\u0027t think we need to distinguish 200 vs 201, but would be curious about other viewpoints here! If only 200 comes back, the only one example needed here.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":9914,"name":"Ade Lee","email":"alee@redhat.com","username":"alee"},"change_message_id":"75aefb2e1be1ff8069a48c03ce54793b9fff01e0","unresolved":false,"context_lines":[{"line_number":157,"context_line":""},{"line_number":158,"context_line":"    Response:"},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"    HTTP/1.1 201 Created"},{"line_number":161,"context_line":"    {\"acl_ref\": \"https://{barbican_host}/v1/secrets/{uuid}/acl\"}"},{"line_number":162,"context_line":""},{"line_number":163,"context_line":"Request/Response (Update ACL):"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_e4bbafc2","line":160,"in_reply_to":"7a016987_1c5acdf2","updated":"2015-05-29 14:46:01.000000000","message":"Agree, based on Vancouver decision.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":193,"context_line":""},{"line_number":194,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":195,"context_line":"| Code | Description                                                                 |"},{"line_number":196,"context_line":"+\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+"},{"line_number":197,"context_line":"| 200  | Successfully created secret ACL.                                            |"},{"line_number":198,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":199,"context_line":"| 201  | Successful updated secret ACL.                                              |"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_3c0c69eb","line":196,"updated":"2015-05-28 17:04:19.000000000","message":"See above.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":204,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":205,"context_line":"| 403  | User does not have have permission to access this resource.                 |"},{"line_number":206,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":207,"context_line":"| 404  | Invalid secret UUID.                                                        |"},{"line_number":208,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":209,"context_line":"| 415  | Unsupported Media Type.                                                     |"},{"line_number":210,"context_line":"+------+-----------------------------------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_3ff0dbfc","line":207,"updated":"2015-05-28 17:04:19.000000000","message":"Invalid secret UUID -\u003e Secret not found for the given UUID","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":215,"context_line":"PATCH /v1/secrets/{uuid}/acl"},{"line_number":216,"context_line":"############################"},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"Update existing ACL for a given secret. This method can be used to apply partial changes on"},{"line_number":219,"context_line":"existing ACL data. Client can update `users` list and enable or disable `creator-only` flag"},{"line_number":220,"context_line":"for existing ACL. List of provided users replaces existing users if any. To delete existing"},{"line_number":221,"context_line":"users from an ACL definition, pass empty list [] for `users`. If no ACL exist, then partial"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_fce811e4","line":218,"updated":"2015-05-28 17:04:19.000000000","message":"Update -\u003e Updates ?","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":216,"context_line":"############################"},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"Update existing ACL for a given secret. This method can be used to apply partial changes on"},{"line_number":219,"context_line":"existing ACL data. Client can update `users` list and enable or disable `creator-only` flag"},{"line_number":220,"context_line":"for existing ACL. List of provided users replaces existing users if any. To delete existing"},{"line_number":221,"context_line":"users from an ACL definition, pass empty list [] for `users`. If no ACL exist, then partial"},{"line_number":222,"context_line":"update is not supported and 404 (Not Found) error is returned."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_bcc5f95c","line":219,"updated":"2015-05-28 17:04:19.000000000","message":"data -\u003e settings ?\n\nClient can update -\u003e Clients can update the","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":217,"context_line":""},{"line_number":218,"context_line":"Update existing ACL for a given secret. This method can be used to apply partial changes on"},{"line_number":219,"context_line":"existing ACL data. Client can update `users` list and enable or disable `creator-only` flag"},{"line_number":220,"context_line":"for existing ACL. List of provided users replaces existing users if any. To delete existing"},{"line_number":221,"context_line":"users from an ACL definition, pass empty list [] for `users`. If no ACL exist, then partial"},{"line_number":222,"context_line":"update is not supported and 404 (Not Found) error is returned."},{"line_number":223,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_9ca47d4b","line":220,"updated":"2015-05-28 17:04:19.000000000","message":"for existing -\u003e for an existing\n\nList of provided users -\u003e The list of provided users","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":218,"context_line":"Update existing ACL for a given secret. This method can be used to apply partial changes on"},{"line_number":219,"context_line":"existing ACL data. Client can update `users` list and enable or disable `creator-only` flag"},{"line_number":220,"context_line":"for existing ACL. List of provided users replaces existing users if any. To delete existing"},{"line_number":221,"context_line":"users from an ACL definition, pass empty list [] for `users`. If no ACL exist, then partial"},{"line_number":222,"context_line":"update is not supported and 404 (Not Found) error is returned."},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"Returns an ACL reference in success case."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_9c435daf","line":221,"updated":"2015-05-28 17:04:19.000000000","message":"pass empty -\u003e pass an empty\n\nI think this last sentence is incorrect...the PATCH should occur even if ACL was not yet set the first time, as if it is an empty dict (the default for no ACL when a GET is done).","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":9914,"name":"Ade Lee","email":"alee@redhat.com","username":"alee"},"change_message_id":"75aefb2e1be1ff8069a48c03ce54793b9fff01e0","unresolved":false,"context_lines":[{"line_number":218,"context_line":"Update existing ACL for a given secret. This method can be used to apply partial changes on"},{"line_number":219,"context_line":"existing ACL data. Client can update `users` list and enable or disable `creator-only` flag"},{"line_number":220,"context_line":"for existing ACL. List of provided users replaces existing users if any. To delete existing"},{"line_number":221,"context_line":"users from an ACL definition, pass empty list [] for `users`. If no ACL exist, then partial"},{"line_number":222,"context_line":"update is not supported and 404 (Not Found) error is returned."},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"Returns an ACL reference in success case."}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_e4e28fd4","line":221,"in_reply_to":"7a016987_9c435daf","updated":"2015-05-29 14:46:01.000000000","message":"Again, the Vancouver decision helps us here.  There is no case where an acl is not at least implicitly defined.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":223,"context_line":""},{"line_number":224,"context_line":"Returns an ACL reference in success case."},{"line_number":225,"context_line":""},{"line_number":226,"context_line":"This API can also be used to define new ACL definition for \u0027list\u0027, \u0027write\u0027, \u0027delete\u0027"},{"line_number":227,"context_line":"operations (when supported in Barbican ACL API)."},{"line_number":228,"context_line":""},{"line_number":229,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_5c7f25e0","line":226,"updated":"2015-05-28 17:04:19.000000000","message":"This can be removed due to generic section suggested above.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":227,"context_line":"operations (when supported in Barbican ACL API)."},{"line_number":228,"context_line":""},{"line_number":229,"context_line":""},{"line_number":230,"context_line":"Attributes"},{"line_number":231,"context_line":"**********"},{"line_number":232,"context_line":""},{"line_number":233,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_bc74d9fd","line":230,"updated":"2015-05-28 17:04:19.000000000","message":"Replaced by generic section mentioned above.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":306,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":307,"context_line":"| 403  | User does not have have permission to access this resource.                 |"},{"line_number":308,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":309,"context_line":"| 404  | Invalid secret UUID or no ACL defined for given secret UUID.                |"},{"line_number":310,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":311,"context_line":"| 415  | Unsupported Media Type.                                                     |"},{"line_number":312,"context_line":"+------+-----------------------------------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_ffc5a38d","line":309,"updated":"2015-05-28 17:04:19.000000000","message":"Invalid secret UUID -\u003e Secret not found for the given UUID\n\nAlso, see DELETE 404 comment below.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":344,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":345,"context_line":"| 403  | User does not have have permission to access this resource.                 |"},{"line_number":346,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":347,"context_line":"| 404  | Invalid secret UUID or no ACL defined for given secret UUID.                |"},{"line_number":348,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":349,"context_line":""},{"line_number":350,"context_line":"Container ACL API"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_3cb3499c","line":347,"updated":"2015-05-28 17:04:19.000000000","message":"Invalid secret UUID -\u003e Secret not found for the given UUID\n\nAlso, I don\u0027t think a 404 should be returned when no ACL has been set. DELETE relative to clients really is just restoring the ACL settings back to the empty dict state (that\u0027s what GET would return after this call).\n\nSooo...is a DELETE operation necessary then? The same effect could be achieved with a PUT with empty dict?","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":423,"context_line":""},{"line_number":424,"context_line":"PUT /v1/containers/{uuid}/acl"},{"line_number":425,"context_line":"#############################"},{"line_number":426,"context_line":"Create new or update existing ACL for a given container."},{"line_number":427,"context_line":""},{"line_number":428,"context_line":"This call is used to add new ACL for an container. If ACL already exists on an container,"},{"line_number":429,"context_line":"then this method can be used to make a complete update. This update replaces existing ACL"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_3c38e9ed","line":426,"updated":"2015-05-28 17:04:19.000000000","message":"Create new or update existing -\u003e Creates new or replaces existing?","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6c7f9553ad71dd83a5be43e41c953fbecb6abc87","unresolved":false,"context_lines":[{"line_number":423,"context_line":""},{"line_number":424,"context_line":"PUT /v1/containers/{uuid}/acl"},{"line_number":425,"context_line":"#############################"},{"line_number":426,"context_line":"Create new or update existing ACL for a given container."},{"line_number":427,"context_line":""},{"line_number":428,"context_line":"This call is used to add new ACL for an container. If ACL already exists on an container,"},{"line_number":429,"context_line":"then this method can be used to make a complete update. This update replaces existing ACL"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_64e918b7","line":426,"in_reply_to":"7a016987_3c38e9ed","updated":"2015-05-28 23:27:17.000000000","message":"Will make the change","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":425,"context_line":"#############################"},{"line_number":426,"context_line":"Create new or update existing ACL for a given container."},{"line_number":427,"context_line":""},{"line_number":428,"context_line":"This call is used to add new ACL for an container. If ACL already exists on an container,"},{"line_number":429,"context_line":"then this method can be used to make a complete update. This update replaces existing ACL"},{"line_number":430,"context_line":"with provided ACL data. In case of create (first new ACL),  201 is returned in success case"},{"line_number":431,"context_line":"and 200 is returned in update cases. To delete existing users from an ACL definition, pass"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_9c291d9e","line":428,"updated":"2015-05-28 17:04:19.000000000","message":"See comments for the PUT secret resource above.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":441,"context_line":"    Currently Barbican\u0027s default policy just makes use of \u0027read\u0027 ACL definition data only i.e."},{"line_number":442,"context_line":"    other definitions if defined for a container are not used for authorization checks."},{"line_number":443,"context_line":""},{"line_number":444,"context_line":"Attributes"},{"line_number":445,"context_line":"**********"},{"line_number":446,"context_line":""},{"line_number":447,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_1c140d4b","line":444,"updated":"2015-05-28 17:04:19.000000000","message":"See comments for PUT secret resource above, about moving this section.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":461,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"},{"line_number":462,"context_line":""},{"line_number":463,"context_line":""},{"line_number":464,"context_line":"Request/Response (New ACL):"},{"line_number":465,"context_line":"***************************"},{"line_number":466,"context_line":""},{"line_number":467,"context_line":".. code-block:: none"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_1f22bfa3","line":464,"updated":"2015-05-28 17:04:19.000000000","message":"See comments for PUT secret resource above, about moving one of these examples if we just have 200 response always.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"b5aedd066547732fcdadf685b6c75f910f01dca9","unresolved":false,"context_lines":[{"line_number":542,"context_line":""},{"line_number":543,"context_line":".. _patch_container_acl:"},{"line_number":544,"context_line":""},{"line_number":545,"context_line":"PATCH /v1/containers/{uuid}/acl"},{"line_number":546,"context_line":"###############################"},{"line_number":547,"context_line":""},{"line_number":548,"context_line":"Update existing ACL for a given container. This method can be used to apply partial changes"}],"source_content_type":"text/x-rst","patch_set":8,"id":"5afe65bd_28880d22","line":545,"updated":"2015-06-02 03:40:12.000000000","message":"After discussions in the API-WG channel, PATCH support is really to be avoided as much as possible, in favor of fine-grained PUTs...so this would be better to add a user (for example):\n\nPUT /containers/{UUID}/acl/read/users/{user-id}\n\nIt might be good to just leave out patch-like support in this CR, and revisit with a new one?","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":1091,"name":"Arun Kant","email":"arukant@cisco.com","username":"arunkant-uws"},"change_message_id":"6e14ca27f636acf8d5163706ba83e4dcf4886e79","unresolved":false,"context_lines":[{"line_number":542,"context_line":""},{"line_number":543,"context_line":".. _patch_container_acl:"},{"line_number":544,"context_line":""},{"line_number":545,"context_line":"PATCH /v1/containers/{uuid}/acl"},{"line_number":546,"context_line":"###############################"},{"line_number":547,"context_line":""},{"line_number":548,"context_line":"Update existing ACL for a given container. This method can be used to apply partial changes"}],"source_content_type":"text/x-rst","patch_set":8,"id":"5afe65bd_e0030d0e","line":545,"in_reply_to":"5afe65bd_28880d22","updated":"2015-06-02 18:48:49.000000000","message":"I agree, we can leave the current CR as-is and revisit this change with another CR. Looks like a discussion might be  needed around the topic of adding users or removing users from ACL settings.\n\nAs Ade mentioned in Barbican irc, I will add comment around PATCH support in this doc CR.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":545,"context_line":"PATCH /v1/containers/{uuid}/acl"},{"line_number":546,"context_line":"###############################"},{"line_number":547,"context_line":""},{"line_number":548,"context_line":"Update existing ACL for a given container. This method can be used to apply partial changes"},{"line_number":549,"context_line":"on existing ACL data. Client can update `users` list and enable or disable `creator-only`"},{"line_number":550,"context_line":"flag for existing ACL. List of provided users replaces existing users if any. To delete"},{"line_number":551,"context_line":"existing users from an ACL definition, pass empty list [] for `users`. If no ACL exist,"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_ff6923bf","line":548,"updated":"2015-05-28 17:04:19.000000000","message":"See comments for PATCH secret resource above.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":557,"context_line":"operations (when supported in Barbican ACL API)."},{"line_number":558,"context_line":""},{"line_number":559,"context_line":""},{"line_number":560,"context_line":"Attributes"},{"line_number":561,"context_line":"**********"},{"line_number":562,"context_line":""},{"line_number":563,"context_line":"+----------------------------+----------+-----------------------------------------------+----------+"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_9f5c6f1a","line":560,"updated":"2015-05-28 17:04:19.000000000","message":"See comments for PATCH secret resource above, about moving this section.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":636,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":637,"context_line":"| 403  | User does not have have permission to access this resource.                 |"},{"line_number":638,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":639,"context_line":"| 404  | Invalid container UUID or no ACL defined for given container UUID.          |"},{"line_number":640,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":641,"context_line":"| 415  | Unsupported Media Type.                                                     |"},{"line_number":642,"context_line":"+------+-----------------------------------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_bfb60b3c","line":639,"updated":"2015-05-28 17:04:19.000000000","message":"See comments for PATCH secret resource above, about not returning 404 for no ACL.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"1d74cc58d7c8d27f1b8b51df826e2dc897073ec9","unresolved":false,"context_lines":[{"line_number":674,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":675,"context_line":"| 403  | User does not have have permission to access this resource.                 |"},{"line_number":676,"context_line":"+------+-----------------------------------------------------------------------------+"},{"line_number":677,"context_line":"| 404  | Invalid container UUID or no ACL defined for given container UUID.          |"},{"line_number":678,"context_line":"+------+-----------------------------------------------------------------------------+"}],"source_content_type":"text/x-rst","patch_set":8,"id":"7a016987_ff97e38d","line":677,"updated":"2015-05-28 17:04:19.000000000","message":"See comments for PATCH secret resource above, about not returning 404 if ACL not found.","commit_id":"62377ce37d23397e1362f64534652fa726b8bb9c"},{"author":{"_account_id":7789,"name":"John Wood","email":"john.wood@rackspace.com","username":"woodster"},"change_message_id":"776fc5ae685ace44afbb47ebbf134e586efc3585","unresolved":false,"context_lines":[{"line_number":159,"context_line":"    HTTP/1.1 200 OK"},{"line_number":160,"context_line":"    {\"acl_ref\": \"https://{barbican_host}/v1/secrets/{uuid}/acl\"}"},{"line_number":161,"context_line":""},{"line_number":162,"context_line":"Request/Response (Replace ACL):"},{"line_number":163,"context_line":"******************************"},{"line_number":164,"context_line":""},{"line_number":165,"context_line":".. code-block:: none"}],"source_content_type":"text/x-rst","patch_set":9,"id":"5afe65bd_b793f44e","line":162,"updated":"2015-06-03 14:52:00.000000000","message":"I don\u0027t think this example is needed (it is identical to the one above), but OK enough for the blueprint.","commit_id":"d435f7cf2eda00cedb2602e24240c7b93260aa73"}]}
