Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 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. 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)
  7. api/maven-api-model/src/main/mdo/maven.mdo

            </field>
          </fields>
        </class>
        <class>
          <name>Contributor</name>
          <description>Description of a person who has contributed to the project, but who does not have
            commit privileges. Usually, these contributions come in the form of patches submitted.</description>
          <version>3.0.0+</version>
          <fields>
            <field>
              <name>name</name>
              <version>3.0.0+</version>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Nov 26 03:07:35 UTC 2025
    - 133.3K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.32.md

    -...
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Dec 16 18:27:41 UTC 2025
    - 448.1K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/handling-errors.md

    Este cliente podría ser un navegador con un frontend, un código de otra persona, un dispositivo IoT, etc.
    
    Podrías necesitar decirle al cliente que:
    
    * El cliente no tiene suficientes privilegios para esa operación.
    * El cliente no tiene acceso a ese recurso.
    * El ítem al que el cliente intentaba acceder no existe.
    * etc.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/behind-a-proxy.md

    ```
    
    Isso diz ao Traefik para escutar na porta 9999 e usar outro arquivo `routes.toml`.
    
    /// tip | Dica
    
    Estamos usando a porta 9999 em vez da porta padrão HTTP 80 para que você não precise executá-lo com privilégios de administrador (`sudo`).
    
    ///
    
    Agora crie esse outro arquivo `routes.toml`:
    
    ```TOML hl_lines="5  12  20"
    [http]
      [http.middlewares]
    
        [http.middlewares.api-stripprefix.stripPrefix]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top