Identity provider API doesn't use default roles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack Identity (keystone) |
Medium
|
Lance Bragstad |
Bug Description
In Rocky, keystone implemented support to ensure at least three default roles were available [0]. The identity provider (federation) API doesn't incorporate these defaults into its default policies [1], but it should.
[0] http://
[1] https:/
Changed in keystone: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: default-roles policy |
OpenStack Infra (hudson-openstack) wrote : | #2 |
Related fix proposed to branch: master
Review: https:/
Changed in keystone: | |
assignee: | nobody → Lance Bragstad (lbragstad) |
status: | Triaged → In Progress |
Fix proposed to branch: master
Review: https:/
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 27bf50d127e0f19
Author: Lance Bragstad <email address hidden>
Date: Wed Nov 21 21:38:21 2018 +0000
Update idp policies for system reader
The idp policies were not taking the default roles work we did
last release into account. This commit changes the default policies
to rely on the ``reader`` role for get and list idps. Subsequent
patches will incorporate:
- system member test coverage
- system admin functionality
- domain users test coverage
- project users test coverage
Related-Bug: 1804517
Related-Bug: 1804516
Change-Id: I18c041846010cd
OpenStack Infra (hudson-openstack) wrote : | #5 |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit c347c4ff2f2e7c0
Author: Lance Bragstad <email address hidden>
Date: Wed Nov 21 21:52:20 2018 +0000
Add idp tests for system member role
From keystone's perspective, the ``member`` and ``reader`` roles are
effectively the same, isolating writable idp operations to the
``admin`` role.
This commit adds explicit testing to make sure the ``member`` role is
allowed to perform readable and not writable idp operations.
Subsequent patches will incorporate:
- system admin functionality
- domain users test coverage
- project users test coverage
Related-Bug: 1804517
Related-Bug: 1804516
Change-Id: Ib738c18380f567
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit a4c5d804395f20d
Author: Lance Bragstad <email address hidden>
Date: Wed Nov 21 21:58:24 2018 +0000
Update idp policies for system admin
This change makes the policy definitions for admin idp operations
consistent with the other idp policies. Subsequent patches will
incorporate:
- domain users test coverage
- project users test coverage
Related-Bug: 1804517
Closes-Bug: 1804516
Change-Id: I6d6a19d95d8970
Changed in keystone: | |
status: | In Progress → Fix Released |
Changed in keystone: | |
milestone: | none → stein-3 |
This issue was fixed in the openstack/keystone 15.0.0.0rc1 release candidate.
Related fix proposed to branch: master /review. openstack. org/619371
Review: https:/