Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 28 for privileges (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/additional_responses/tutorial004_py310.py

    
    class Item(BaseModel):
        id: str
        value: str
    
    
    responses = {
        404: {"description": "Item not found"},
        302: {"description": "The item was moved"},
        403: {"description": "Not enough privileges"},
    }
    
    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
        response_model=Item,
        responses={**responses, 200: {"content": {"image/png": {}}}},
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 669 bytes
    - Click Count (0)
  2. tests/test_tutorial/test_additional_responses/test_tutorial004.py

                        "responses": {
                            "404": {"description": "Item not found"},
                            "302": {"description": "The item was moved"},
                            "403": {"description": "Not enough privileges"},
                            "200": {
                                "description": "Successful Response",
                                "content": {
                                    "image/png": {},
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  3. cmd/warm-backend.go

    	Remove(ctx context.Context, object string, rv remoteVersionID) error
    	InUse(ctx context.Context) (bool, error)
    }
    
    const probeObject = "probeobject"
    
    // checkWarmBackend checks if tier config credentials have sufficient privileges
    // to perform all operations defined in the WarmBackend interface.
    func checkWarmBackend(ctx context.Context, w WarmBackend) error {
    	remoteVersionID, err := w.Put(ctx, probeObject, strings.NewReader("MinIO"), 5)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Oct 31 22:10:24 GMT 2024
    - 4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        /**
         * Checks if the current user has the specified action role or administrative privileges.
         *
         * @param role the role to check (supports both view and edit variants)
         * @return true if the user has the role or admin privileges, false otherwise
         */
        public static boolean hasActionRole(final String role) {
            final String[] roles;
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  5. SECURITY.md

    from anywhere, and executes the graphs it is sent without performing any checks.
    Therefore, if you run a `tf.train.Server` in your network, anybody with access
    to the network can execute arbitrary code with the privileges of the user
    running the `tf.train.Server`.
    
    ## Untrusted inputs during training and prediction
    
    TensorFlow supports a wide range of input data formats. For example it can
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Wed Oct 16 16:10:43 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  6. docs/en/docs/advanced/behind-a-proxy.md

    ```
    
    This tells Traefik to listen on port 9999 and to use another file `routes.toml`.
    
    /// tip
    
    We are using port 9999 instead of the standard HTTP port 80 so that you don't have to run it with admin (`sudo`) privileges.
    
    ///
    
    Now create that other file `routes.toml`:
    
    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
        [http.middlewares.api-stripprefix.stripPrefix]
          prefixes = ["/api/v1"]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 16.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

            /** Security impersonation level. */
            public short impersonation_level;
            /** Context tracking mode. */
            public byte context_mode;
            /** Indicates if only effective privileges should be used. */
            public byte effective_only;
    
            @Override
            public void encode(final NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(this.length);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 44.5K bytes
    - Click Count (0)
  8. cmd/admin-handlers-users_test.go

    	}
    
    	// 3.2 check that user cannot delete the bucket
    	err = uClient.RemoveBucket(ctx, bucket)
    	if err == nil || err.Error() != "Access Denied." {
    		c.Fatalf("User was able to escalate privileges (Err=%v)!", err)
    	}
    }
    
    func (s *TestSuiteIAM) TestAddServiceAccountPerms(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	// 1. Create a policy
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 50.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/net/InetAddresses.java

       * <p>NOTE: This method is failsafe for security purposes: ALL IPv6 addresses (except localhost
       * (::1)) are hashed to avoid the security risk associated with extracting an embedded IPv4
       * address that might permit elevated privileges.
       *
       * @param ip {@link InetAddress} to "coerce"
       * @return {@link Inet4Address} represented "coerced" address
       * @since 7.0
       */
      public static Inet4Address getCoercedIPv4Address(InetAddress ip) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

       * <p>NOTE: This method is failsafe for security purposes: ALL IPv6 addresses (except localhost
       * (::1)) are hashed to avoid the security risk associated with extracting an embedded IPv4
       * address that might permit elevated privileges.
       *
       * @param ip {@link InetAddress} to "coerce"
       * @return {@link Inet4Address} represented "coerced" address
       * @since 7.0
       */
      public static Inet4Address getCoercedIPv4Address(InetAddress ip) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 47.4K bytes
    - Click Count (0)
Back to Top