Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for restricted (0.04 sec)

  1. statement.go

    							selectedColumns[vs] = true
    						}
    					}
    				}
    				restricted := len(selectedColumns) != 0
    
    				switch reflectValue.Kind() {
    				case reflect.Struct:
    					for _, field := range s.Fields {
    						selected := selectedColumns[field.DBName] || selectedColumns[field.Name]
    						if selected || (!restricted && field.Readable) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/get-current-user.md

    ///
    
    /// check
    
    The way this dependency system is designed allows us to have different dependencies (different "dependables") that all return a `User` model.
    
    We are not restricted to having only one dependency that can return that type of data.
    
    ///
    
    ## Other models { #other-models }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. callbacks/update.go

    					if field.DBName != "" {
    						if v, ok := selectColumns[field.DBName]; (ok && v) || (!ok && !restricted) {
    							set = append(set, clause.Assignment{Column: clause.Column{Name: field.DBName}, Value: kv})
    							assignValue(field, value[k])
    						}
    					} else if v, ok := selectColumns[field.Name]; (ok && v) || (!ok && !restricted) {
    						assignValue(field, value[k])
    					}
    					continue
    				}
    			}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. callbacks/create.go

    			if stmt.Schema != nil && len(values.Columns) >= 1 {
    				selectColumns, restricted := stmt.SelectAndOmitColumns(true, true)
    
    				columns := make([]string, 0, len(values.Columns)-1)
    				for _, column := range values.Columns {
    					if field := stmt.Schema.LookUpField(column.Name); field != nil {
    						if v, ok := selectColumns[field.DBName]; (ok && v) || (!ok && !restricted) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. callbacks/delete.go

    				return true
    			}
    
    			return false
    		})
    	}
    }
    
    func DeleteBeforeAssociations(db *gorm.DB) {
    	if db.Error == nil && db.Statement.Schema != nil {
    		selectColumns, restricted := db.Statement.SelectAndOmitColumns(true, false)
    		if !restricted {
    			return
    		}
    
    		for column, v := range selectColumns {
    			if !v {
    				continue
    			}
    
    			rel, ok := db.Statement.Schema.Relationships.Relations[column]
    			if !ok {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. callbacks/query.go

    								Selects: join.Selects, Omits: join.Omits,
    							}
    
    							selectColumns, restricted := columnStmt.SelectAndOmitColumns(false, false)
    							for _, s := range relation.FieldSchema.DBNames {
    								if v, ok := selectColumns[s]; (ok && v) || (!ok && !restricted) {
    									clauseSelect.Columns = append(clauseSelect.Columns, clause.Column{
    										Table: tableAliasName,
    										Name:  s,
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 10.4K bytes
    - Viewed (3)
  7. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

        /**
         * Share flag indicating the share is a DFS root.
         */
        public static final int SMB2_SHAREFLAG_DFS_ROOT = 0x2;
        /**
         * Share flag indicating that exclusive opens are restricted on this share.
         */
        public static final int SMB2_SHAREFLAG_RESTRICT_EXCLUSIVE_OPENS = 0x100;
        /**
         * Share flag indicating that shared delete is forced for this share.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

                    + artifact.getVersionRange() + ")");
        }
    
        @Override
        public void restrictRange(Artifact artifact, Artifact replacement, VersionRange newRange) {
            logger.debug(indent + artifact + " (range restricted from: " + artifact.getVersionRange() + " and: "
                    + replacement.getVersionRange() + " to: " + newRange + " )");
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                assertTrue("expired method executed successfully", true);
            } catch (Throwable t) {
                // In test environments, system monitoring may fail due to missing dependencies
                // or restricted access to system resources. This is acceptable.
                // We primarily want to ensure the method can be called without compilation errors
    
                // Log the exception for debugging purposes but don't fail the test
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          val rule = publicSuffixList.bytes.binarySearch(domainLabelsUtf8Bytes, i)
          if (rule != null) {
            exactMatch = rule
            break
          }
        }
    
        // In theory, wildcard rules are not restricted to having the wildcard in the leftmost position.
        // In practice, wildcards are always in the leftmost position. For now, this implementation
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top