Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 20 for privileges (0.41 seconds)

  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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 669 bytes
    - Click Count (0)
  2. 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 Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 31 22:10:24 GMT 2024
    - 4K bytes
    - Click Count (0)
  3. src/packaging/deb/init.d/fess

    ### END INIT INFO
    
    PATH=/bin:/usr/bin:/sbin:/usr/sbin
    NAME=fess
    DESC="Fess Server"
    DEFAULT=/etc/default/$NAME
    
    if [ `id -u` -ne 0 ]; then
    	echo "You need root privileges to run this script"
    	exit 1
    fi
    
    
    . /lib/lsb/init-functions
    
    if [ -r /etc/default/rcS ]; then
    	. /etc/default/rcS
    fi
    
    # The following variables can be overwritten in $DEFAULT
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  4. 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 Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 16 16:10:43 GMT 2024
    - 9.6K bytes
    - Click Count (0)
  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.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_additional_responses/test_tutorial004.py

                                "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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  7. .github/ISSUE_TEMPLATE/privileged.yml

      - type: checkboxes
        id: privileged
        attributes:
          label: Privileged issue
          description: Confirm that you are allowed to create an issue here.
          options:
            - label: I'm @tiangolo or he asked me directly to create an issue here.
              required: true
      - type: textarea
        id: content
        attributes:
          label: Issue Content
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Jul 29 23:35:07 GMT 2024
    - 888 bytes
    - Click Count (1)
  8. docs/fr/docs/advanced/strict-content-type.md

    Des attaquants pourraient simplement exécuter un script pour envoyer des requêtes à votre API, sans interaction avec le navigateur ; vous sécurisez donc probablement déjà tout endpoint privilégié.
    
    Dans ce cas, cette attaque / ce risque ne vous concerne pas.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  9. docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md

    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    //// tab | Python 3.10+ sans Annotated
    
    /// tip | Astuce
    
    Privilégiez la version avec `Annotated` si possible.
    
    ///
    
    ```Python
    commons: CommonQueryParams = Depends(CommonQueryParams)
    ```
    
    ////
    
    Le dernier `CommonQueryParams`, dans :
    
    ```Python
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/strict-content-type.md

    ## Open Internet { #open-internet }
    
    If your app is in the open internet, you wouldn't "trust the network" and let anyone send privileged requests without authentication.
    
    Attackers could simply run a script to send requests to your API, no need for browser interaction, so you are probably already securing any privileged endpoints.
    
    In that case **this attack / risk doesn't apply to you**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 3.2K bytes
    - Click Count (0)
Back to Top