- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for policyName (0.07 sec)
-
cmd/iam-object-store.go
for index := range policies { index := index g.Go(func() error { policyName := path.Dir(policies[index]) policyDoc, err := iamOS.loadPolicy(ctx, policyName) if err != nil && !errors.Is(err, errNoSuchPolicy) { return fmt.Errorf("unable to load the policy doc `%s`: %w", policyName, err) } policyDocs[index] = policyDoc return nil }, index) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 26.6K bytes - Viewed (0) -
cmd/iam.go
func (sys *IAMSys) DeletePolicy(ctx context.Context, policyName string, notifyPeers bool) error { if !sys.Initialized() { return errServerNotInitialized } for _, v := range policy.DefaultPolicies { if v.Name == policyName { if err := checkConfig(ctx, globalObjectAPI, getPolicyDocPath(policyName)); err != nil && err == errConfigNotFound {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 29 16:01:48 UTC 2024 - 74.6K bytes - Viewed (0) -
cmd/admin-handlers-users.go
return } for policyName, policy := range allPolicies { if policy.IsEmpty() { err = globalIAMSys.DeletePolicy(ctx, policyName, true) removed.Policies = append(removed.Policies, policyName) } else { _, err = globalIAMSys.SetPolicy(ctx, policyName, policy) added.Policies = append(added.Policies, policyName) } if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 03 23:11:02 UTC 2024 - 85.1K bytes - Viewed (0) -
cmd/iam-store.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0) -
cmd/peer-rest-server.go
objAPI := newObjectLayerFn() if objAPI == nil { return np, grid.NewRemoteErr(errServerNotInitialized) } 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 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0) -
cmd/peer-rest-client.go
func (client *peerRESTClient) DeletePolicy(ctx context.Context, policyName string) (err error) { _, err = deletePolicyRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{ peerRESTPolicy: policyName, })) return err } // LoadPolicy - reload a specific canned policy. func (client *peerRESTClient) LoadPolicy(ctx context.Context, policyName string) (err error) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
cmd/admin-router.go
// Set user or group policy adminRouter.Methods(http.MethodPut).Path(adminVersion+"/set-user-or-group-policy"). HandlerFunc(adminMiddleware(adminAPI.SetPolicyForUserOrGroup)). Queries("policyName", "{policyName:.*}", "userOrGroup", "{userOrGroup:.*}", "isGroup", "{isGroup:true|false}") // Attach/Detach policies to/from user or group
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Sep 21 11:35:40 UTC 2024 - 26.2K bytes - Viewed (0) -
cmd/notification.go
func (sys *NotificationSys) DeletePolicy(ctx context.Context, policyName string) []NotificationPeerErr { ng := WithNPeers(len(sys.peerClients)).WithRetries(1) for idx, client := range sys.peerClients { client := client ng.Go(ctx, func() error { if client == nil { return errPeerNotReachable } return client.DeletePolicy(ctx, policyName) }, idx, *client.host) } return ng.Wait() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 46.2K bytes - Viewed (0) -
docs/site-replication/run-multi-site-minio-idp.sh
exit_1 fi # create a bucket bucket2 on minio1. ./mc mb minio1/bucket2 sleep 10 # Test whether policy detach replicated to minio1 policy=$(./mc admin user info minio1 foobarx --json | jq -r .policyName) if [ "${policy}" != "null" ]; then echo "expected policy detach to have replicated, exiting..." exit_1 fi kill -9 ${site1_pid1} ${site1_pid2} # Update tag on minio2/newbucket when minio1 is down
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 12.1K bytes - Viewed (0) -
cmd/sts-handlers_test.go
if err != nil { c.Fatalf("list users should not fail: %v", err) } if len(usersList) != 1 { c.Fatalf("expected user listing output: %v", usersList) } uinfo := usersList[userDN] if uinfo.PolicyName != policy || uinfo.Status != madmin.AccountEnabled { c.Fatalf("expected user listing content: %v", uinfo) } // Validate that the client from sts creds can access the bucket.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 97.1K bytes - Viewed (0)