Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for inGroup (0.07 sec)

  1. cmd/iam.go

    	if !sys.Initialized() {
    		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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	loadMappedPolicy(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error
    	loadMappedPolicyWithRetry(ctx context.Context, name string, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy], retries int) error
    	loadMappedPolicies(ctx context.Context, userType IAMUserType, isGroup bool, m *xsync.MapOf[string, MappedPolicy]) error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users.go

    	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 {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  4. cmd/peer-rest-server.go

    	if err != nil {
    		return np, grid.NewRemoteErr(fmt.Errorf("user-type `%s` is invalid: %w", mss.Get(peerRESTUserType), err))
    	}
    
    	isGroup := mss.Get(peerRESTIsGroup) == "true"
    	if err := globalIAMSys.LoadPolicyMapping(context.Background(), objAPI, userOrGroup, IAMUserType(userType), isGroup); 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)
Back to top