mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
Move IAM notifications into IAM system functions (#13780)
This commit is contained in:
1 parent
e49c184595
commit
42d11d9e7d
11 files changed
+155
-225
No files matched your search
@@ -78,7 +78,7 @@ func (s *peerRESTServer) DeletePolicyHandler(w http.ResponseWriter, r *http.Requ
|
||||
return
|
||||
}
|
||||
|
||||
if err := globalIAMSys.DeletePolicy(r.Context(), policyName); err != nil {
|
||||
if err := globalIAMSys.DeletePolicy(r.Context(), policyName, false); err != nil {
|
||||
s.writeErrorResponse(w, err)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user