Fix some word spellings
Change-Id: I9cce8384341e2efb68cfab0aa73fc88ae4561189
This commit is contained in:
parent
f81bdba2c7
commit
fb26c25655
|
@ -87,7 +87,7 @@ The following options can be defined in `keystone.conf`:
|
||||||
* ``issuer_attribute`` - The issuer attribute that is served as an IdP ID for
|
* ``issuer_attribute`` - The issuer attribute that is served as an IdP ID for
|
||||||
the X.509 tokenless authorization along with the protocol to look up its
|
the X.509 tokenless authorization along with the protocol to look up its
|
||||||
corresponding mapping. It is the environment variable in the WSGI
|
corresponding mapping. It is the environment variable in the WSGI
|
||||||
enviornment that references to the Issuer of the client certificate. It
|
environment that references to the Issuer of the client certificate. It
|
||||||
defaults to ``SSL_CLIENT_I_DN``.
|
defaults to ``SSL_CLIENT_I_DN``.
|
||||||
|
|
||||||
This is a sample configuration for two `trusted_issuer` and a `protocol` set
|
This is a sample configuration for two `trusted_issuer` and a `protocol` set
|
||||||
|
@ -127,7 +127,7 @@ like in a certificate.
|
||||||
C=US
|
C=US
|
||||||
|
|
||||||
The issuer DN should be constructed as a string that contains no spaces
|
The issuer DN should be constructed as a string that contains no spaces
|
||||||
and have the right order seperated by commas like the example below.
|
and have the right order separated by commas like the example below.
|
||||||
Please be aware that ``emailAddress`` and ``ST`` should be used instead
|
Please be aware that ``emailAddress`` and ``ST`` should be used instead
|
||||||
of ``E`` and ``S`` that are shown in the above example. The following is
|
of ``E`` and ``S`` that are shown in the above example. The following is
|
||||||
the sample Python code used to create the IdP ID.
|
the sample Python code used to create the IdP ID.
|
||||||
|
|
|
@ -189,7 +189,7 @@ class BootStrap(BaseApp):
|
||||||
self.role_id = role[0]['id']
|
self.role_id = role[0]['id']
|
||||||
|
|
||||||
# NOTE(morganfainberg): Handle the case that the role assignment has
|
# NOTE(morganfainberg): Handle the case that the role assignment has
|
||||||
# already occured.
|
# already occurred.
|
||||||
try:
|
try:
|
||||||
self.assignment_manager.add_role_to_user_and_project(
|
self.assignment_manager.add_role_to_user_and_project(
|
||||||
user_id=user['id'],
|
user_id=user['id'],
|
||||||
|
|
|
@ -784,7 +784,7 @@ MAPPING_GROUPS_BLACKLIST = {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
# Excercise all possibilities of user identitfication. Values are hardcoded on
|
# Exercise all possibilities of user identification. Values are hardcoded on
|
||||||
# purpose.
|
# purpose.
|
||||||
MAPPING_USER_IDS = {
|
MAPPING_USER_IDS = {
|
||||||
"rules": [
|
"rules": [
|
||||||
|
|
|
@ -6891,7 +6891,7 @@ class ImpliedRoleTests(AssignmentTestHelperMixin):
|
||||||
{'params': {'user': 0},
|
{'params': {'user': 0},
|
||||||
'results': [{'user': 0, 'role': 0, 'domain': 0,
|
'results': [{'user': 0, 'role': 0, 'domain': 0,
|
||||||
'inherited_to_projects': 'projects'}]},
|
'inherited_to_projects': 'projects'}]},
|
||||||
# List in effective mode - we should only see the inital and
|
# List in effective mode - we should only see the initial and
|
||||||
# implied role on the project (since inherited roles are not
|
# implied role on the project (since inherited roles are not
|
||||||
# active on their anchor point).
|
# active on their anchor point).
|
||||||
{'params': {'user': 0, 'effective': True},
|
{'params': {'user': 0, 'effective': True},
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -99,7 +99,7 @@ commands =
|
||||||
bandit -c bandit.yaml -r keystone -n5 -p gate
|
bandit -c bandit.yaml -r keystone -n5 -p gate
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
# Previous name of linters target, kept for compatability. The infra jobs
|
# Previous name of linters target, kept for compatibility. The infra jobs
|
||||||
# will run the linters job.
|
# will run the linters job.
|
||||||
deps = {[testenv:linters]deps}
|
deps = {[testenv:linters]deps}
|
||||||
whitelist_externals =
|
whitelist_externals =
|
||||||
|
|
Loading…
Reference in New Issue