Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for usergroup (0.06 sec)

  1. docs/sts/ldap.md

    - MinIO optionally queries the AD/LDAP server for a list of groups that the user is a member of.
    - MinIO then checks if there are any policies [explicitly associated](#managing-usergroup-access-policy) with the user or their groups.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

        }
    
        public String[] getUserGroups() {
            String[] userGroups = DocumentUtil.getValue(attributes, "groups", String[].class);
            if (userGroups == null) {
                userGroups = getDefaultGroupsAsArray();
            }
            return userGroups;
        }
    
        public OpenIdUser getUser() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. cmd/iam.go

    		err = errServerNotInitialized
    		return
    	}
    
    	userOrGroup := r.User
    	var isGroup bool
    	if userOrGroup == "" {
    		isGroup = true
    		userOrGroup = r.Group
    	}
    
    	if isGroup {
    		_, err = sys.GetGroupDescription(userOrGroup)
    		if err != nil {
    			return
    		}
    	} else {
    		var isTemp bool
    		isTemp, _, err = sys.IsTempUser(userOrGroup)
    		if err != nil && err != errNoSuchUser {
    			return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  4. cmd/admin-router.go

    		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)
  5. cmd/peer-rest-client.go

    }
    
    // LoadPolicyMapping - reload a specific policy mapping
    func (client *peerRESTClient) LoadPolicyMapping(ctx context.Context, userOrGroup string, userType IAMUserType, isGroup bool) error {
    	_, err := loadPolicyMappingRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTUserOrGroup: userOrGroup,
    		peerRESTUserType:    strconv.Itoa(int(userType)),
    		peerRESTIsGroup:     strconv.FormatBool(isGroup),
    	}))
    	return err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    	var prev madmin.SRPolicyMapping
    	for i, p := range policies {
    		if i == 0 {
    			prev = p
    			continue
    		}
    		if prev.IsGroup != p.IsGroup ||
    			prev.Policy != p.Policy ||
    			prev.UserOrGroup != p.UserOrGroup {
    			return false
    		}
    	}
    	return true
    }
    
    func isUserInfoReplicated(cntReplicated, total int, uis []madmin.UserInfo) bool {
    	if cntReplicated > 0 && cntReplicated != total {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  7. cmd/peer-rest-server.go

    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    	userOrGroup := mss.Get(peerRESTUserOrGroup)
    	if userOrGroup == "" {
    		return np, grid.NewRemoteErr(errors.New("user-or-group is missing"))
    	}
    
    	userType, err := strconv.Atoi(mss.Get(peerRESTUserType))
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    	}, nil
    }
    
    // PolicyMappingNotificationHandler - handles updating a policy mapping from storage.
    func (store *IAMStoreSys) PolicyMappingNotificationHandler(ctx context.Context, userOrGroup string, isGroup bool, userType IAMUserType) error {
    	if userOrGroup == "" {
    		return errInvalidArgument
    	}
    
    	cache := store.lock()
    	defer store.unlock()
    
    	var m *xsync.MapOf[string, MappedPolicy]
    	switch {
    	case isGroup:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  9. cmd/notification.go

    	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.LoadPolicyMapping(ctx, userOrGroup, userType, isGroup)
    		}, idx, *client.host)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.AttachPolicyAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	policyName := vars["policyName"]
    	entityName := vars["userOrGroup"]
    	isGroup := vars["isGroup"] == "true"
    
    	if !isGroup {
    		ok, _, err := globalIAMSys.IsTempUser(entityName)
    		if err != nil && err != errNoSuchUser {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top