092570fc5e
This commit adds protection testing for the token API along with changes to default policies to properly consume system-scope and default roles. Originally, this work was going to include the ability for project and domain administrator to validate, check, or revoke tokens within the context of their authorization (e.g., a domain administrator could revoke tokens on projects within their domain). This seems like extra work for not much benefit since we're using bearer tokens. The holder of the token can do anything with that token, which means they can validate it or revoke it without using their own token. Adding project and domain administrator support seems unnecessary given the existing functionality. If someone comes forward asking for this functionality, we can re-evaluate the effort. For now, this patch is limited to system user support, allowing them to validate, check, and revoke any token in the system. Service users can still validate tokens on behalf of users. Users can do anything they wish with their own tokens. This commit also bumps the minimum version of oslo.log so that we can use the official TRAIN deprecated release marker. Change-Id: Ia8b35258b43213bd117df4275c907aac223342b3 Closes-Bug: 1818844 Closes-Bug: 1750676
45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
|
|
# Temporarily add Babel reference to avoid problem
|
|
# in keystone-coverage-db CI job
|
|
Babel!=2.4.0,>=2.3.4 # BSD
|
|
|
|
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
|
WebOb>=1.7.1 # MIT
|
|
Flask!=0.11,>=1.0.2 # BSD
|
|
Flask-RESTful>=0.3.5 # BSD
|
|
cryptography>=2.1 # BSD/Apache-2.0
|
|
six>=1.10.0 # MIT
|
|
SQLAlchemy>=1.1.0 # MIT
|
|
sqlalchemy-migrate>=0.11.0 # Apache-2.0
|
|
stevedore>=1.20.0 # Apache-2.0
|
|
passlib>=1.7.0 # BSD
|
|
python-keystoneclient>=3.8.0 # Apache-2.0
|
|
keystonemiddleware>=5.1.0 # Apache-2.0
|
|
bcrypt>=3.1.3 # Apache-2.0
|
|
scrypt>=0.8.0 # BSD
|
|
oslo.cache>=1.26.0 # Apache-2.0
|
|
oslo.concurrency>=3.26.0 # Apache-2.0
|
|
oslo.config>=5.2.0 # Apache-2.0
|
|
oslo.context>=2.22.0 # Apache-2.0
|
|
oslo.messaging>=5.29.0 # Apache-2.0
|
|
oslo.db>=4.27.0 # Apache-2.0
|
|
oslo.i18n>=3.15.3 # Apache-2.0
|
|
oslo.log>=3.44.0 # Apache-2.0
|
|
oslo.middleware>=3.31.0 # Apache-2.0
|
|
oslo.policy>=1.43.1 # Apache-2.0
|
|
oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
|
|
oslo.upgradecheck>=0.1.0 # Apache-2.0
|
|
oslo.utils>=3.33.0 # Apache-2.0
|
|
oauthlib>=0.6.2 # BSD
|
|
pysaml2>=4.5.0
|
|
PyJWT>=1.6.1 # MIT
|
|
dogpile.cache>=0.6.2 # BSD
|
|
jsonschema>=2.6.0 # MIT
|
|
pycadf!=2.0.0,>=1.1.0 # Apache-2.0
|
|
msgpack>=0.5.0 # Apache-2.0
|
|
osprofiler>=1.4.0 # Apache-2.0
|
|
pytz>=2013.6 # MIT
|