[GH-ISSUE #484] Support different operations for different path #270

Closed
opened 2026-04-08 16:51:37 +03:00 by zhus · 1 comment
Owner

Originally created by @Zieng on GitHub (Nov 17, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/484

Specific Demand

We can allow specific operations for the whole path, however it seems we can not usedifferent operations for different path, eg:

version: '3'
services:
  dufs:
    image: sigoden/dufs
    container_name: dufs
    ports:
    - 5032:5000
    volumes:
    - ./data:/data
    command: /data/a -A /data/b --allow-upload

Implement Suggestion

Originally created by @Zieng on GitHub (Nov 17, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/484 ## Specific Demand We can allow specific operations for the whole path, however it seems we can not usedifferent operations for different path, eg: ``` version: '3' services: dufs: image: sigoden/dufs container_name: dufs ports: - 5032:5000 volumes: - ./data:/data command: /data/a -A /data/b --allow-upload ``` ## Implement Suggestion
zhus closed this issue 2026-04-08 16:51:37 +03:00
Author
Owner

@sigoden commented on GitHub (Nov 18, 2024):

We will not support this feature.

The --allow-* options globally control which operations dufs supports.
The -a <auth-role> controls the permissions granted to a user on specific paths.

<!-- gh-comment-id:2481624029 --> @sigoden commented on GitHub (Nov 18, 2024): We will not support this feature. The `--allow-*` options globally control which operations dufs supports. The `-a <auth-role>` controls the permissions granted to a user on specific paths.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#270