Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for consoleAdmin (0.05 seconds)

  1. cmd/admin-handlers-users_test.go

    		}()
    	} else {
    		// Create a regular user and attach consoleAdmin policy
    		err := s.adm.AddUser(ctx, "foobar", "foobar123")
    		if err != nil {
    			c.Fatalf("could not create user")
    		}
    
    		_, err = s.adm.AttachPolicy(ctx, madmin.PolicyAssociationReq{
    			Policies: []string{"consoleAdmin"},
    			User:     "foobar",
    		})
    		if err != nil {
    			c.Fatalf("could not attach policy")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  2. cmd/admin-handlers-users.go

    		// For owner account and when plugin authZ is configured always set
    		// effective policy as `consoleAdmin`.
    		//
    		// In the latter case, we let the UI render everything, but individual
    		// actions would fail if not permitted by the external authZ service.
    		for _, policy := range policy.DefaultPolicies {
    			if policy.Name == "consoleAdmin" {
    				effectivePolicy = policy.Definition
    				break
    			}
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
Back to Top