- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 181 for isAllowed (0.15 sec)
-
cmd/s3-zip-handlers.go
// error. // * if you don’t have the s3:ListBucket // permission, Amazon S3 will return an HTTP // status code 403 ("access denied") error.` if globalPolicySys.IsAllowed(policy.BucketPolicyArgs{ Action: policy.ListBucketAction, BucketName: bucket, ConditionValues: getConditionValues(r, "", auth.AnonymousCredentials), IsOwner: false, }) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.8K bytes - Viewed (0) -
cmd/policy_test.go
{putObjectActionArgs, true}, {getObjectActionArgs, true}, {yourbucketAnonGetObjectActionArgs, false}, {yourbucketGetObjectActionArgs, true}, } for i, testCase := range testCases { result := p.IsAllowed(testCase.args) if result != testCase.expectedResult { t.Fatalf("case %v: expected: %v, got: %v\n", i+1, testCase.expectedResult, result) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java
abstract boolean isDeprecated(ConfigurationInternal configuration); boolean isProperUsage(ConfigurationInternal configuration, boolean allowDeprecated) { return isAllowed(configuration) && (allowDeprecated || !isDeprecated(configuration)); } public static String buildProperName(ProperMethodUsage usage) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:36:01 UTC 2024 - 85.4K bytes - Viewed (0) -
cmd/metrics.go
} cred := auth.Credentials{ AccessKey: claims.AccessKey, Claims: claims.Map(), Groups: groups, } // For authenticated users apply IAM policy. if !globalIAMSys.IsAllowed(policy.Args{ AccountName: cred.AccessKey, Groups: cred.Groups, Action: policy.PrometheusAdminAction, ConditionValues: getConditionValues(r, "", cred), IsOwner: owner,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 16.6K bytes - Viewed (0) -
cmd/object-handlers.go
// error. // * if you don’t have the s3:ListBucket // permission, Amazon S3 will return an HTTP // status code 403 ("access denied") error.` if globalPolicySys.IsAllowed(policy.BucketPolicyArgs{ Action: policy.ListBucketAction, BucketName: bucket, ConditionValues: getConditionValues(r, "", auth.AnonymousCredentials), IsOwner: false, }) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 124.2K bytes - Viewed (0) -
cmd/admin-handlers.go
// Set delimiter value for "s3:delimiter" policy conditionals. r.Header.Set("delimiter", SlashSeparator) isAllowedAccess := func(bucketName string) (rd, wr bool) { if globalIAMSys.IsAllowed(policy.Args{ AccountName: cred.AccessKey, Groups: cred.Groups, Action: policy.GetObjectAction, BucketName: bucketName, ConditionValues: getConditionValues(r, "", cred),
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0) -
test/typeparam/aliasimp.dir/main.go
package main import "./a" type R[T any] struct { F T } // type S = R // disallowed for now type Sint = R[int] // type Simp = a.Rimp // disallowed for now // type SimpString Simp[string] // disallowed for now type SimpString a.Rimp[string] func main() { // var s S[int] // disallowed for now var s R[int] if s.F != 0 { panic(s.F) } var s2 Sint if s2.F != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 709 bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt
05F5..05FF ; disallowed # NA <reserved-05F5>..<reserved-05FF> 0600..0603 ; disallowed # 4.0 ARABIC NUMBER SIGN..ARABIC SIGN SAFHA 0604 ; disallowed # 6.1 ARABIC SIGN SAMVAT 0605 ; disallowed # 7.0 ARABIC NUMBER MARK ABOVE
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Feb 10 11:25:47 UTC 2024 - 854.1K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/HierarchicalClassLoaderStructureSerializerTest.groovy
def classNames = [ 'allowed.Class1', 'allowed.Class2' ] def disallowedClassNames = [ 'disallowed.Class1', 'disallowed.Class2' ] def packagePrefixes = [ 'allowed.pkgprefix1.', 'allowed.pkgprefix2' ] def disallowedPackagePrefixes = [ 'disallowed.pkgprefix1.', 'disallowed.pkgprefix2.' ] def packageNames = [ 'allowed.pkg1', 'allowed.pkg2' ]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/typesinternal/toonew.go
if t := pkg.Scope().Lookup(typename); t != nil && disallowed[t] == "" { obj, _, _ = types.LookupFieldOrMethod(t.Type(), false, pkg, name) } case stdlib.Method: ptr, recvname, name := sym.SplitMethod() if t := pkg.Scope().Lookup(recvname); t != nil && disallowed[t] == "" { obj, _, _ = types.LookupFieldOrMethod(t.Type(), ptr, pkg, name) } } if obj != nil { disallowed[obj] = symVersion } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2.9K bytes - Viewed (0)