Modify ↓
Opened 16 years ago
Closed 16 years ago
#3461 closed enhancement (fixed)
RFE: User permissions by file
Reported by: | anonymous | Owned by: | Radek Bartoň |
---|---|---|---|
Priority: | normal | Component: | DownloadsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
It would be useful to be able to specify permission on a per download basis.
Attachments (0)
Change History (4)
comment:1 Changed 16 years ago by
Status: | new → assigned |
---|---|
Summary: | User permissions by file → RFE: User permissions by file |
comment:2 Changed 16 years ago by
comment:4 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Branch 0.12 with changeset r5690 now contains additional resource based checks for permissions. This can be combined with TracFineGrainedPermissions and FineGrainedPageAuthzEditorPlugin to get per-download permission control.
This is example of
authzpolicy.conf
which will disallow to download download with id 2 to user test:Hovewer, user test have to have
DOWNLOADS_VIEW
global permission to actually see list of downloads.Current implemetation just disables links in table of downloads for downloads that user can't download and disallow direct download of them with apropriate URL. I'm aware that I'll have to disable links further in
[download:<id>]
macro but this is not done yet. I'm awating comments on what else shoud be controlled by fine grained permissions than just file downloads? Thanks for any suggestion.