barbican/barbican/tests
Douglas Mendizábal 93c5636f9c Fix policy for Orders
This patch adds checks to make sure that the project_id of the token
matches the project_id that owns the Order.

Currently, having a role on any project will allow the request to be
processed, which results in a 404 - Not Found instead of 401 -
Forbidden.

Change-Id: Ie0e6f6edae40e47d45afbe92fd509032cb091b1a
(cherry picked from commit 5d81a3c453)
(cherry picked from commit 382b5086a2)
(cherry picked from commit ea7451e32c)
(cherry picked from commit 85b9feecd2)
2021-12-14 19:40:42 +00:00
..
api Fix policy for Orders 2021-12-14 19:40:42 +00:00
cmd Use barbican.conf in barbican-manage 2020-11-02 19:36:22 +00:00
common Add SecretConsumerValidator and its tests 2019-09-24 16:10:52 +02:00
model Add SecretConsumerRepo repository and its tests 2019-09-24 15:20:01 +02:00
objects Adding the unit-tests of OVO for Barbican [2] 2019-10-03 14:22:28 +00:00
plugin Ignore network errors during C_Finalize 2021-09-27 22:06:50 +00:00
queue Remove Certificate Orders and CAs from API 2017-12-13 10:40:28 +07:00
tasks Removed unnecessary setUp() calls in tests 2017-08-02 11:25:52 +02:00
__init__.py Make a whole host of modules hacking 0.9.2 compliant 2014-09-01 23:59:44 -05:00
certificate_utils.py Fixes for Running Functional Tests with Python 3.5 2017-04-27 13:06:14 -04:00
database_utils.py Add SecretConsumerRepo repository and its tests 2019-09-24 15:20:01 +02:00
fixture.py Use oslo.db create_engine instead of SQLAlchemy 2017-04-28 03:13:28 +00:00
keys.py Merge "Replace pycrypto with cryptography in translations" 2017-05-05 19:26:58 +00:00
test_hacking.py Remove log translation related check 2017-03-30 09:25:20 +08:00
test_middleware_auth.py update some documents about the keystone "API v2.0" 2018-05-12 23:32:12 +08:00
utils.py Add Secret Consumer Controllers and their tests 2019-09-30 14:51:02 +02:00