mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
sa: Allow empty policy to indicate parent user's policy is inherited (#9185)
This commit is contained in:
+5
-1
@@ -620,10 +620,14 @@ func getMinioMode() string {
|
||||
return mode
|
||||
}
|
||||
|
||||
func iamPolicyClaimName() string {
|
||||
func iamPolicyClaimNameOpenID() string {
|
||||
return globalOpenIDConfig.ClaimPrefix + globalOpenIDConfig.ClaimName
|
||||
}
|
||||
|
||||
func iamPolicyClaimNameSA() string {
|
||||
return "sa-policy"
|
||||
}
|
||||
|
||||
func isWORMEnabled(bucket string) bool {
|
||||
if isMinioMetaBucketName(bucket) {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user