| 1 | --- |
| 2 | features: |
| 3 | - | |
| 4 | [`bug 1748027 <https://bugs.launchpad.net/keystone/+bug/1748027>`_] |
| 5 | The user API now supports the ``admin``, ``member``, and |
| 6 | ``reader`` default roles across system-scope, domain-scope, and |
| 7 | project-scope. |
| 8 | upgrade: |
| 9 | - | |
| 10 | [`bug 1748027 <https://bugs.launchpad.net/keystone/+bug/1748027>`_] |
| 11 | The user API uses new default policies that make it more |
| 12 | accessible to end users and administrators in a secure way. Please |
| 13 | consider these new defaults if your deployment overrides |
| 14 | user policies. |
| 15 | deprecations: |
| 16 | - | |
| 17 | [`bug 1748027 <https://bugs.launchpad.net/keystone/+bug/1748027>`_] |
| 18 | The user policies have been deprecated. The ``identity:get_user`` |
| 19 | policy now uses ``(role:reader and system_scope:all) or |
| 20 | (role:reader and token.domain.id:%(target.user.domain_id)s) or |
| 21 | user_id:%(target.user.id)s`` instead of ``rule:admin_or_owner``. |
| 22 | The ``identity:list_users`` policy now uses ``(role:reader and |
| 23 | system_scope:all) or (role:reader and |
| 24 | domain_id:%(target.domain_id)s)`` instead of |
| 25 | ``rule:admin_required``. The ``identity:create_user``, |
| 26 | ``identity:update_user``, and ``identity:delete_user`` policies |
| 27 | now use ``(role:admin and system_scope:all) or (role:admin and |
| 28 | token.domain.id:%(target.user.domain_id)s)`` instead of |
| 29 | ``rule:admin_required``. These new defaults automatically include |
| 30 | support for a read-only role and allow for more granular access to |
| 31 | user APIs, making it easier for system and domain administrators |
| 32 | to delegate authorization, safely. Please consider these new |
| 33 | defaults if your deployment overrides user policies. |
| 34 | security: |
| 35 | - | |
| 36 | [`bug 1748027 <https://bugs.launchpad.net/keystone/+bug/1748027>`_] |
| 37 | The user API now uses system-scope, domain-scope, project-scope and default |
| 38 | roles to provide better accessibility to users in a secure way. |
| 39 |