Actions
Feature #81098
closed
SS
SS
rgw/keystone: add project-scoped reader and implicit-deny roles
Feature #81098:
rgw/keystone: add project-scoped reader and implicit-deny roles
Due date:
% Done:
0%
Tags (freeform):
Merge Commit:
Fixed In:
v21.3.0-4263-g0d863a47e7
Released In:
Upkeep Timestamp:
2026-10-13T07:13:29+00:00
Description
The existing rgw_keystone_accepted_reader_roles is system-scoped: it grants
read access across all Keystone projects and only takes effect when the role
is also listed in rgw_keystone_accepted_admin_roles. There is no way to give
a Keystone user read-only access limited to its own project, as Swift's
project_reader_roles does.
- rgw_keystone_accepted_project_reader_roles: when the listed role is the only
granting role on a token, the identity is capped to read-only
(RGW_PERM_READ | RGW_PERM_READ_ACP) within its Keystone project. Owner-scoped
paths (mdsearch, SNS topics), CreateBucket/Swift account metadata and STS
AssumeRole honor the cap. Bucket/IAM policies naming the user can still
grant specific writes. - rgw_keystone_implicit_deny_roles: a role that authenticates the user but
grants no implicit permissions; access must come from an explicit bucket or
IAM policy.
The most permissive accepted role on a token wins.
SS Updated by Supriti Singh about 2 months ago
- Assignee set to Supriti Singh
UB Updated by Upkeep Bot about 2 months ago
- Status changed from Fix Under Review to Resolved
- Merge Commit set to 0d863a47e7d6051439f20ceeb6dfc494fa5bde7c
- Fixed In set to v21.3.0-4263-g0d863a47e7
- Upkeep Timestamp set to 2026-10-12T13:01:58+00:00
SS Updated by Supriti Singh about 2 months ago
- Status changed from Resolved to Pending Backport
I would like to backport this feature to squid and tentacle.
UB Updated by Upkeep Bot about 2 months ago
- Status changed from Pending Backport to Resolved
- Upkeep Timestamp changed from 2026-10-12T13:01:58+00:00 to 2026-10-13T07:13:29+00:00
Actions