Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for UserGroups (0.34 sec)

  1. src/main/java/org/codelibs/fess/app/web/base/login/OpenIdConnectCredential.java

            return (String) attributes.get("email");
        }
    
        public String[] getUserGroups() {
            String[] userGroups = (String[]) attributes.get("groups");
            if (userGroups == null) {
                userGroups = getDefaultGroupsAsArray();
            }
            return (userGroups);
        }
    
        public OpenIdUser getUser() {
            return new OpenIdUser(getUserId(), getUserGroups(), getDefaultRolesAsArray());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/audit/policy/reader_test.go

    const policyDefPattern = `
    apiVersion: audit.k8s.io/{version}
    kind: Policy
    rules:
      - level: None
        nonResourceURLs:
          - /healthz*
          - /version
      - level: RequestResponse
        users: ["tim"]
        userGroups: ["testers", "developers"]
        verbs: ["patch", "delete", "create"]
        resources:
          - group: ""
          - group: "rbac.authorization.k8s.io"
            resources: ["clusterroles", "clusterrolebindings"]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/audit/zz_generated.deepcopy.go

    	*out = *in
    	if in.Users != nil {
    		in, out := &in.Users, &out.Users
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.UserGroups != nil {
    		in, out := &in.UserGroups, &out.UserGroups
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.Verbs != nil {
    		in, out := &in.Verbs, &out.Verbs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 06 19:08:27 UTC 2021
    - 7.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/audit/validation/validation_test.go

    )
    
    func TestValidatePolicy(t *testing.T) {
    	validRules := []audit.PolicyRule{
    		{ // Defaulting rule
    			Level: audit.LevelMetadata,
    		}, { // Matching non-humans
    			Level:      audit.LevelNone,
    			UserGroups: []string{"system:serviceaccounts", "system:nodes"},
    		}, { // Specific request
    			Level:      audit.LevelRequestResponse,
    			Verbs:      []string{"get"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/zz_generated.conversion.go

    func autoConvert_v1_PolicyRule_To_audit_PolicyRule(in *PolicyRule, out *audit.PolicyRule, s conversion.Scope) error {
    	out.Level = audit.Level(in.Level)
    	out.Users = *(*[]string)(unsafe.Pointer(&in.Users))
    	out.UserGroups = *(*[]string)(unsafe.Pointer(&in.UserGroups))
    	out.Verbs = *(*[]string)(unsafe.Pointer(&in.Verbs))
    	out.Resources = *(*[]audit.GroupResources)(unsafe.Pointer(&in.Resources))
    	out.Namespaces = *(*[]string)(unsafe.Pointer(&in.Namespaces))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 06 19:08:27 UTC 2021
    - 14.6K bytes
    - Viewed (0)
  6. tests/integration/pilot/multiplecontrolplanes/main_test.go

    					to:         apps.NS[2].B,
    				},
    				{
    					name:       "workloads within different usergroups cannot communicate, registry only",
    					statusCode: http.StatusBadGateway,
    					from:       apps.NS[0].A,
    					to:         apps.NS[1].B,
    				},
    				{
    					name:       "workloads within different usergroups cannot communicate, default passthrough",
    					statusCode: http.StatusServiceUnavailable,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/zz_generated.deepcopy.go

    	*out = *in
    	if in.Users != nil {
    		in, out := &in.Users, &out.Users
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.UserGroups != nil {
    		in, out := &in.UserGroups, &out.UserGroups
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.Verbs != nil {
    		in, out := &in.Verbs, &out.Verbs
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 06 19:08:27 UTC 2021
    - 7.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    	if len(r.Users) > 0 {
    		if user == nil || !hasString(r.Users, user.GetName()) {
    			return false
    		}
    	}
    	if len(r.UserGroups) > 0 {
    		if user == nil {
    			return false
    		}
    		matched := false
    		for _, group := range user.GetGroups() {
    			if hasString(r.UserGroups, group) {
    				matched = true
    				break
    			}
    		}
    		if !matched {
    			return false
    		}
    	}
    	if len(r.Verbs) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/types.go

    	// The user groups this rule applies to. A user is considered matching
    	// if it is a member of any of the UserGroups.
    	// An empty list implies every user group.
    	// +optional
    	// +listType=atomic
    	UserGroups []string `json:"userGroups,omitempty" protobuf:"bytes,3,rep,name=userGroups"`
    
    	// The verbs that match this rule.
    	// An empty list implies every verb.
    	// +optional
    	// +listType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:24:10 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/modelRules/basicRuleSourcePlugin/tests/basicRuleSourcePlugin-model-task.out

              | Type:   	MaritalStatus
              | Creator: 	PersonRules#person(Person)
        + mother
              | Type:   	Person
              | Value:  	null
              | Creator: 	PersonRules#person(Person)
        + userGroups
              | Type:   	java.util.List<java.lang.String>
              | Value:  	null
              | Creator: 	PersonRules#person(Person)
    + tasks
          | Type:   	org.gradle.model.ModelMap<org.gradle.api.Task>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 15:10:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top