keystone/releasenotes/notes/bug-1748027-decc2e11154b97cf.yaml
Lance Bragstad f9e07a940d Add explicit testing for project users and the user API
This commit wraps up the user API policy refactor by adding explicit
testing for how project users are expected to behave with the user
API. A subsequent patch set will remove the now obsolete user policies
in policy.v3cloudsample.json.

Change-Id: Ic7b0839ac70439aa0311a98c6b7b5688a7e2dcf7
Closes-Bug: 1748027
Related-Bug: 968696
2019-03-21 18:44:02 +00:00

40 lines
1.8 KiB
YAML

---
features:
- |
[`bug 1748027 <https://bugs.launchpad.net/keystone/+bug/1748027>`_]
The user API now supports the ``admin``, ``member``, and
``reader`` default roles across system-scope, domain-scope, and
project-scope.
upgrade:
- |
[`bug 1748027 <https://bugs.launchpad.net/keystone/+bug/1748027>`_]
The user API uses new default policies that make it more
accessible to end users and administrators in a secure way. Please
consider these new defaults if your deployment overrides
user policies.
deprecations:
- |
[`bug 1748027 <https://bugs.launchpad.net/keystone/+bug/1748027>`_]
The user policies have been deprecated. The ``identity:get_user``
policy now uses ``(role:reader and system_scope:all) or
(role:reader and token.domain.id:%(target.user.domain_id)s) or
user_id:%(target.user.id)s`` instead of ``rule:admin_or_owner``.
The ``identity:list_users`` policy now uses ``(role:reader and
system_scope:all) or (role:reader and
domain_id:%(target.domain_id)s)`` instead of
``rule:admin_required``. The ``identity:create_user``,
``identity:update_user``, and ``identity:delete_user`` policies
now use ``(role:admin and system_scope:all) or (role:admin and
token.domain.id:%(target.user.domain_id)s)`` instead of
``rule:admin_required``. These new defaults automatically include
support for a read-only role and allow for more granular access to
user APIs, making it easier for system and domain administrators
to delegate authorization, safely. Please consider these new
defaults if your deployment overrides user policies.
security:
- |
[`bug 1748027 <https://bugs.launchpad.net/keystone/+bug/1748027>`_]
The user API now uses system-scope, domain-scope, project-scope and default
roles to provide better accessibility to users in a secure way.