- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for DeletePolicy (0.04 sec)
-
cmd/iam.go
} return roleArn, rolePolicy, nil } // DeletePolicy - deletes a canned policy from backend. `notifyPeers` is true // whenever this is called via the API. It is false when called via a // notification from another peer. This is to avoid infinite loops. func (sys *IAMSys) DeletePolicy(ctx context.Context, policyName string, notifyPeers bool) error { if !sys.Initialized() {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0) -
cmd/admin-handlers-users.go
if objectAPI == nil { return } vars := mux.Vars(r) policyName := vars["name"] setReqInfoPolicyName(ctx, policyName) if err := globalIAMSys.DeletePolicy(ctx, policyName, true); err != nil { writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL) return } // Call cluster-replication policy creation hook to replicate policy deletion to
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 90.6K bytes - Viewed (0) -
cmd/iam-store.go
return nil } return err } // DeletePolicy - deletes policy from storage and cache. When this called in // response to a notification (i.e. isFromNotification = true), it skips the // validation of policy usage and the attempt to delete in the backend as well // (as this is already done by the notifying node). func (store *IAMStoreSys) DeletePolicy(ctx context.Context, policy string, isFromNotification bool) error {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 86.7K bytes - Viewed (0) -
cmd/peer-rest-server.go
} policyName := mss.Get(peerRESTPolicy) if policyName == "" { return np, grid.NewRemoteErr(errors.New("policyName is missing")) } if err := globalIAMSys.DeletePolicy(context.Background(), policyName, false); err != nil { return np, grid.NewRemoteErr(err) } return } // LoadPolicyHandler - reloads a policy on the server.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 53.4K bytes - Viewed (0)