2c8f81af62
This commit adds thorough testing to make sure users who have a role on a project can use project-scoped tokens to call GET /v3/domain/{domain_id} for the domain own their project. These users are not allowed to access domains that they don't have any authorization via project role assignments. This ensures the domains API is tested with these cases and makes the domains API more self-serviceable for users that are not administrators. Change-Id: Ifc100a7a235140fbd07cbafe80983d3c2f17a7dc Closes-Bug: 1794864 Related-Bug: 968696
42 lines
2.3 KiB
YAML
42 lines
2.3 KiB
YAML
---
|
|
upgrade:
|
|
- |
|
|
[`bug 1794864 <https://bugs.launchpad.net/keystone/+bug/1794864>`_]
|
|
[`bug 1794376 <https://bugs.launchpad.net/keystone/+bug/1794376>`_]
|
|
The default policies that protect the domains API have been deprecated in
|
|
favor of ones that are more secure and self-serviceable. If you're
|
|
maintaining custom policies, please make sure you resolve your domain
|
|
policies to work with the new default by adding the proper role
|
|
assignments, or continue maintaining custom overrides. The new defaults
|
|
allow for better protection of the domains API when giving the `admin` role
|
|
to users on domains and projects.
|
|
deprecations:
|
|
- |
|
|
[`bug 1794864 <https://bugs.launchpad.net/keystone/+bug/1794864>`_]
|
|
[`bug 1794376 <https://bugs.launchpad.net/keystone/+bug/1794376>`_]
|
|
The default policies that protect the domains API have been deprecated in
|
|
favor of ones that are more secure and self-serviceable. If you're
|
|
maintaining custom policies, please make sure you resolve your domain
|
|
policies to work with the new default by adding the proper role
|
|
assignments, or continue maintaining custom overrides. The new defaults
|
|
allow for better protection of the domains API when giving the `admin` role
|
|
to users on domains and projects.
|
|
security:
|
|
- |
|
|
[`bug 1794864 <https://bugs.launchpad.net/keystone/+bug/1794864>`_]
|
|
[`bug 1794376 <https://bugs.launchpad.net/keystone/+bug/1794376>`_]
|
|
The default policies that protect the domains API have been deprecated in
|
|
favor of ones that are more secure and self-serviceable.
|
|
fixes:
|
|
- |
|
|
[`bug 1794864 <https://bugs.launchpad.net/keystone/+bug/1794864>`_]
|
|
[`bug 1794376 <https://bugs.launchpad.net/keystone/+bug/1794376>`_]
|
|
The default policies that protect the domains API have been deprecated in
|
|
favor of ones that are more secure and self-serviceable. Users with roles
|
|
on domains and projects are now able to call the
|
|
``GET /v3/domains/{domain_id}`` API if they use a token scoped to that
|
|
domain or a token scoped to a project within that domain. System users are
|
|
allowed to access the domain APIs in the same way legacy `admin` users were
|
|
able to. This allows for better protection of the domain API when giving
|
|
the `admin` role to users on domains and projects.
|