Search Options

Results per page
Sort
Preferred Languages
Advance

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

  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": {}}}},
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 669 bytes
    - Viewed (0)
  2. docs_src/additional_responses/tutorial004_py39.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": {}}}},
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 701 bytes
    - Viewed (0)
  3. 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": {},
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.9K bytes
    - Viewed (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;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  5. docs/en/docs/tutorial/handling-errors.md

    This client could be a browser with a frontend, a code from someone else, an IoT device, etc.
    
    You could need to tell the client that:
    
    * The client doesn't have enough privileges for that operation.
    * The client doesn't have access to that resource.
    * The item the client was trying to access doesn't exist.
    * etc.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/FinalizableReferenceQueue.java

      interface FinalizerLoader {
    
        /**
         * Returns Finalizer.class or null if this loader shouldn't or can't load it.
         *
         * @throws SecurityException if we don't have the appropriate privileges
         */
        @Nullable Class<?> loadFinalizer();
      }
    
      /**
       * Tries to load Finalizer from the system class loader. If Finalizer is in the system class path,
       * we needn't create a separate loader.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. 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"]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  8. 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);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (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) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/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(length);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
Back to top