Edgewall Software

Changes between Version 2 and Version 3 of 1.3/TracPermissions


Ignore:
Timestamp:
Apr 7, 2017, 5:23:14 AM (3 years ago)
Author:
Ryan J Ollos
Comment:

Document LegacyAttachmentPolicy. Refs #12719.

Legend:

Unmodified
Added
Removed
Modified
  • 1.3/TracPermissions

    v2 v3  
    9494|| `CONFIG_VIEW` || Enables additional sections on ''About Trac'' that show the current configuration and the list of installed plugins ||
    9595|| `EMAIL_VIEW` || Shows email addresses even if [TracIni#trac-section trac show_email_addresses] configuration option is false ||
     96
     97== Attachment Permissions
     98
     99Attachment permissions are handled by `LegacyAttachmentPolicy`, and unlike the permissions discussed so far attachment permissions are not directly granted. Rather, the ability to create, view and delete attachments is determined by the attachment's parent realm and permissions the user possess for that realm.
     100
     101The attachment actions are determined by the following
     102permissions in the ticket, wiki and milestone realms:
     103{{{#!table class="listing"
     104||= Granted By: =||= Ticket =||= Wiki =||= Milestone =||
     105|| `ATTACHMENT_CREATE` || `TICKET_APPEND` || `WIKI_MODIFY` || `MILESTONE_MODIFY` ||
     106|| `ATTACHMENT_VIEW` || `TICKET_VIEW` || `WIKI_VIEW` || `MILESTONE_VIEW` ||
     107|| `ATTACHMENT_DELETE` || `TICKET_ADMIN` || `WIKI_DELETE` || `MILESTONE_DELETE` ||
     108}}}
    96109
    97110== Granting Privileges