mirror of
https://github.com/minio/minio.git
synced 2025-11-21 02:09:08 -05:00
sa: Allow empty policy to indicate parent user's policy is inherited (#9185)
This commit is contained in:
@@ -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