Ticket #3461 (closed enhancement: fixed)

Opened 2 years ago

Last modified 10 months ago

RFE: User permissions by file

Reported by: anonymous Assigned to: Blackhex
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

Change History

08/29/08 10:13:22 changed by Blackhex

  • status changed from new to assigned.
  • summary changed from User permissions by file to RFE: User permissions by file.

05/08/09 23:22:49 changed by Blackhex

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:

[download:2@*]
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.

05/16/09 15:34:10 changed by Blackhex

r5752 finishes this and changes realm to [downloads:*].

05/16/09 15:34:21 changed by Blackhex

  • status changed from assigned to closed.
  • resolution set to fixed.

Add/Change #3461 (RFE: User permissions by file)




Change Properties
Action