mirror of
https://github.com/pgsty/minio.git
synced 2026-07-15 16:30:29 +03:00
return error if policy changes on disabled groups (#16766)
This commit is contained in:
@@ -88,6 +88,9 @@ var errNoPolicyToAttachOrDetach = errors.New("Specified policy update has no net
|
||||
// deleted.
|
||||
var errGroupNotEmpty = errors.New("Specified group is not empty - cannot remove it")
|
||||
|
||||
// error returned in IAM subsystem when a group is disabled
|
||||
var errGroupDisabled = errors.New("Specified group is disabled")
|
||||
|
||||
// error returned in IAM subsystem when policy doesn't exist.
|
||||
var errNoSuchPolicy = errors.New("Specified canned policy does not exist")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user