Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for role (0.03 seconds)

  1. tests/query_test.go

    		t.Fatalf("Build OR condition, but got %v", result.Statement.SQL.String())
    	}
    
    	result = dryDB.Where("role = ?", "admin").Where(DB.Or("role = ?", "super_admin").Or("role = ?", "admin")).Find(&User{})
    	if !regexp.MustCompile("SELECT \\* FROM .*users.* WHERE .*role.* = .+ AND (.*role.* = .+ OR .*role.* = .+)").MatchString(result.Statement.SQL.String()) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  2. cmd/iam.go

    		err = sys.store.PolicyMappingNotificationHandler(ctx, user, true, regUser)
    	}
    	return err
    }
    
    // HasRolePolicy - returns if a role policy is configured for IAM.
    func (sys *IAMSys) HasRolePolicy() bool {
    	return len(sys.rolesMap) > 0
    }
    
    // GetRolePolicy - returns policies associated with a role ARN.
    func (sys *IAMSys) GetRolePolicy(arnStr string) (arn.ARN, string, error) {
    	roleArn, err := arn.Parse(arnStr)
    	if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  3. cmd/iam-store.go

    	} else {
    		c.iamUsersMap[key] = u
    	}
    	c.updatedAt = time.Now()
    	return nil
    }
    
    // IAMStorageAPI defines an interface for the IAM persistence layer
    type IAMStorageAPI interface {
    	// The role of the read-write lock is to prevent go routines from
    	// concurrently reading and writing the IAM storage. The (r)lock()
    	// functions return the iamCache. The cache can be safely written to
    	// only when returned by `lock()`.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  4. CHANGELOG/CHANGELOG-1.3.md

    * Alpha version of "Role Based Access Control" API. ([#25634](https://github.com/kubernetes/kubernetes/pull/25634), [@ericchiang](https://github.com/ericchiang))
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 84K bytes
    - Click Count (0)
  5. go.sum

    github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
    github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
    github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE=
    github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78=
    github.com/go-openapi/analysis v0.23.0 h1:aGday7OWupfMs+LbmLZG4k0MYXIANxcuBTYUC03zFCU=
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 79.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("yes", pom.getValue("developers[1]/properties/developer"));
            assertEquals(1, ((List<?>) pom.getValue("developers[1]/roles")).size());
            assertEquals("devel", pom.getValue("developers[1]/roles[1]"));
    
            assertEquals(1, ((List<?>) pom.getValue("contributors")).size());
            assertEquals("project-contributor", pom.getValue("contributors[1]/name"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 94.8K bytes
    - Click Count (0)
  7. cmd/xl-storage.go

    						continue
    					}
    
    					if err = Rename(pathJoin(currentDataPath, entry), pathJoin(legacyDataPath, entry)); err != nil {
    						// Any failed rename calls un-roll previous transaction.
    						s.deleteFile(dstVolumeDir, legacyDataPath, true, false)
    
    						return res, osErrToFileErr(err)
    					}
    				}
    			}
    		}
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        // Create an editor, then detach it.
        val editor = cache.edit("k1")!!
        editor.newSink(0).buffer().use { sink ->
          cache.evictAll()
    
          // Complete the original edit. It goes into a black hole.
          sink.writeUtf8("bb")
        }
        assertThat(cache["k1"]).isNull()
      }
    
      @Test
      fun `edit discarded after editor detached with concurrent write`() {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 59.4K bytes
    - Click Count (0)
  9. tensorflow/c/c_api_test.cc

      TF_DeleteTensor(t);
      EXPECT_TRUE(deallocator_called);
    }
    
    TEST(CAPI, LibraryLoadFunctions) {
      // TODO(b/73318067): Fix linking for the GPU test generated by the
      // tf_cuda_cc_test() bazel rule and remove the next line.
      if (!GPUDeviceName().empty()) return;
    
    #if !defined(TENSORFLOW_NO_SHARED_OBJECTS)
      {
        // Load the library.
        TF_Status* status = TF_NewStatus();
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Nov 17 00:00:38 GMT 2025
    - 97K bytes
    - Click Count (0)
  10. src/cmd/asm/internal/asm/testdata/riscv64.s

    	XNOR	X18, X19				// b3c92941 or b3c9290193c9f9ff
    	ZEXTH	X19, X20				// 3bca0908
    
    	// 28.4.2: Bitwise Rotation (Zbb)
    	ROL	X8, X9, X10				// 33958460 or b30f8040b3dff4013395840033e5af00
    	ROL	X8, X9					// b3948460 or b30f8040b3dff401b3948400b3e49f00
    	ROLW	X9, X10, X11				// bb159560 or b30f9040bb5ff501bb159500b3e5bf00
    	ROLW	X9, X10					// 3b159560 or b30f9040bb5ff5013b15950033e5af00
    	ROR	X10, X11, X12				// 33d6a560 or b30fa040b39ff50133d6a50033e6cf00
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Nov 13 12:17:37 GMT 2025
    - 73.7K bytes
    - Click Count (0)
Back to Top