mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
Update on-disk storage format for users system (#7949)
- Policy mapping is now at `config/iam/policydb/users/myuser1.json` and includes version. - User identity file is now versioned. - Migrate old data to the new format.
This commit is contained in:
committed by
kannappanr
parent
55d4eee6f1
commit
7bdaf9bc50
@@ -183,7 +183,7 @@ func (sts *stsAPIHandlers) AssumeRole(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
policyName, err := globalIAMSys.GetUserPolicy(user.AccessKey)
|
||||
policyName, err := globalIAMSys.PolicyDBGet(user.AccessKey)
|
||||
if err != nil {
|
||||
logger.LogIf(ctx, err)
|
||||
writeSTSErrorResponse(w, stsErrCodes.ToSTSErr(ErrSTSInvalidParameterValue))
|
||||
|
||||
Reference in New Issue
Block a user