Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for restricted (0.11 sec)

  1. callbacks/associations.go

    	return func(db *gorm.DB) {
    		if db.Error == nil && db.Statement.Schema != nil {
    			selectColumns, restricted := db.Statement.SelectAndOmitColumns(create, !create)
    
    			// Save Belongs To associations
    			for _, rel := range db.Statement.Schema.Relationships.BelongsTo {
    				if v, ok := selectColumns[rel.Name]; (ok && !v) || (!ok && restricted) {
    					continue
    				}
    
    				setupReferences := func(obj reflect.Value, elem reflect.Value) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Apr 11 03:06:13 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  2. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 05:44:55 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. callbacks/helper.go

    		selectColumns, restricted = stmt.SelectAndOmitColumns(true, false)
    	)
    
    	for idx, mapValue := range mapValues {
    		for k, v := range mapValue {
    			if stmt.Schema != nil {
    				if field := stmt.Schema.LookUpField(k); field != nil {
    					k = field.DBName
    				}
    			}
    
    			if _, ok := result[k]; !ok {
    				if v, ok := selectColumns[k]; (ok && v) || (!ok && !restricted) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  5. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

        /**
         * Gets the class realm exposing the Maven API. This is basically a restricted view on the Maven core realm.
         *
         * @return The class realm exposing the Maven API, never {@code null}.
         */
        ClassRealm getMavenApiRealm();
    
        /**
         * Gets the class realm exposing the Maven 4 API. This is basically a restricted view on the Maven core realm.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Feb 25 02:48:23 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  8. 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
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableEnumMap.java

        delegate.forEach(action);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      // All callers of the constructor are restricted to <K extends Enum<K>>.
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new EnumSerializedForm<>(delegate);
      }
    
      @J2ktIncompatible // serialization
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. manifests/charts/README.md

    It is strongly recommended that different namespaces are used, with different service accounts.
    In particular access to the security-critical production components (root CA, policy, control)
    should be locked down and restricted.  The new installer allows multiple instances of
    policy/control/telemetry - so testing/staging of new settings and versions can be performed
    by a different role than the prod version.
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 16:56:50 UTC 2024
    - 7.4K bytes
    - Viewed (0)
Back to top