diff options
author | Adam Young <ayoung@redhat.com> | 2013-02-26 14:54:32 -0500 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2013-03-05 19:35:38 +0000 |
commit | 601eeb50b60a2e99041690fe19238202bc203503 (patch) | |
tree | f1be4ab425ba9150b61c1e1c6c5bd1a67f180021 /tests/default_fixtures.py | |
parent | ab6e5529513af656db512b888fed9b320391afbd (diff) | |
download | keystone-601eeb50b60a2e99041690fe19238202bc203503.tar.gz keystone-601eeb50b60a2e99041690fe19238202bc203503.tar.xz keystone-601eeb50b60a2e99041690fe19238202bc203503.zip |
Trusts
Blueprint trusts
creates a trust. Using a trust, one user (the trustee), can then
create tokens with a subset of another user's (the trustor) roles and
projects.
If the impersonate flag in the trust is set, the token user_id is set
to the trustor's user ID
If the impersonate flag is not set, the token's user_is is set to the
trustee's user ID
check that both trustor and trustee are enabled prior to creating
the trust token.
sql and kvs backends
sql upgrade scripts
unit tests for backends, auth and v3 api
modifications to the trust controller for creating tokens
Authenticates that only user can be trustor in create
Deleting a trust invalidates all tokens created from that trust
Adds the trust id and the id of the trustee to the header of the token
policy rules for trust
This version has a workaround for testing against the KVS version
of the Service catalog
Change-Id: I5745f4d9a4180b59671a143a55ed87019e98ec76
Diffstat (limited to 'tests/default_fixtures.py')
-rw-r--r-- | tests/default_fixtures.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/default_fixtures.py b/tests/default_fixtures.py index 4499be17..1141ddfd 100644 --- a/tests/default_fixtures.py +++ b/tests/default_fixtures.py @@ -109,5 +109,12 @@ ROLES = [ }, { 'id': 'other', 'name': 'Other', + }, { + 'id': 'browser', + 'name': 'Browser', + }, { + 'id': 'writer', + 'name': 'Writer', } + ] |