mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-15 00:09:00 +01:00
s3tables: re-anchor legacy owners for federated STS sessions
A web-identity role session was keyed on its bare OIDC subject until owners became issuer-scoped. Its sessions now carry the scoped aws:userid but no asserted issuers, so the legacy subject check never applied and the session lost the table buckets and namespaces it had created. Read the configured issuer set for such sessions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a576398662
commit
fc8f4c6ecb
3 files changed
+37
-3
No files matched your search
@@ -47,6 +47,16 @@ func (m *Manager) SetTrusted(trusted bool) {
|
||||
m.handler.SetTrusted(trusted)
|
||||
}
|
||||
|
||||
// SetLocalAccountChecker sets the handler's configured local account predicate.
|
||||
func (m *Manager) SetLocalAccountChecker(fn func(string) bool) {
|
||||
m.handler.SetLocalAccountChecker(fn)
|
||||
}
|
||||
|
||||
// SetTrustedIssuerSource sets the handler's configured OIDC issuer source.
|
||||
func (m *Manager) SetTrustedIssuerSource(fn func(context.Context) []string) {
|
||||
m.handler.SetTrustedIssuerSource(fn)
|
||||
}
|
||||
|
||||
// SetEncryptionChecker sets the handler's SSE-S3 availability predicate.
|
||||
func (m *Manager) SetEncryptionChecker(fn func() bool) {
|
||||
m.handler.SetEncryptionChecker(fn)
|
||||
|
||||
Reference in new issue
Block a user