Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for privileges (0.05 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 Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 669 bytes
    - Click Count (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": {}}}},
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 701 bytes
    - Click Count (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": {},
    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)
  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. docs/sts/ldap.md

    - find accounts whose group memberships have changed; access policies available to a credential are updated to reflect the change, i.e. they will lose any privileges associated with a group they are removed from, and gain any privileges associated with a group they are added to.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  6. 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 Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9K bytes
    - Click Count (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"]
    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)
  8. 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.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top