mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05:00
Allow setting non-existent policy on a user/group (#13898)
This commit is contained in:
committed by
GitHub
parent
8144a125ce
commit
de400f3473
@@ -1191,7 +1191,7 @@ func (sys *IAMSys) PolicyDBSet(ctx context.Context, name, policy string, isGroup
|
||||
|
||||
err := sys.store.PolicyDBSet(ctx, name, policy, userType, isGroup)
|
||||
if err != nil {
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
||||
// Notify all other MinIO peers to reload policy
|
||||
|
||||
Reference in New Issue
Block a user