Edgewall Software

Changes between Version 8 and Version 9 of 1.3/TracUpgrade


Ignore:
Timestamp:
Apr 18, 2017, 7:19:41 AM (7 years ago)
Author:
Ryan J Ollos
Comment:

Refs #12719.

Legend:

Unmodified
Added
Removed
Modified
  • 1.3/TracUpgrade

    v8 v9  
    115115}}}
    116116(instead of `$prefix #$ticket.id: $summary`)
     117
     118===== New permission policies for Wiki and Ticket realms
     119
     120Since 1.3.2 there are new permission policies for the ticket and wiki systems. `DefaultTicketPolicy` allows an authenticated users with `TICKET_APPEND` or `TICKET_CHPROP` to modify the description of a ticket they reported. It also implements the pre-1.3.2 behavior of allowing users to edit their own ticket comments. [#Newpermissionspolicyforread-onlywikipages ReadonlyWikiPolicy], added in 1.1.2, is renamed to `DefaultWikiPolicy`. The new permission policy have the advantage of being easily replaced with alternate implementations if the default behavior is not desired.
     121
     122If `[trac] permission_policy` has the default value `ReadonlyWikiPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy`, then `DefaultWikiPolicy, DefaultTicketPolicy` should be automatically appended to the list when upgrading the environment:
     123{{{#!ini
     124[trac]
     125permission_policies = DefaultWikiPolicy,
     126 DefaultTicketPolicy,
     127 DefaultPermissionPolicy,
     128 LegacyAttachmentPolicy
     129}}}
     130
     131If other permission policies are enabled, `trac.ini` will need to be edited to `DefaultWikiPolicy, DefaultTicketPolicy` to add `permission_policies`. See [wiki:TracFineGrainedPermissions#DefaultWikiPolicyandDefaultTicketPolicy] for additional details on the proper ordering.
    117132
    118133