Edgewall Software

Changes between Version 4 and Version 5 of ReadonlyWikiPolicy


Ignore:
Timestamp:
Nov 23, 2013, 3:48:55 AM (10 years ago)
Author:
Ryan J Ollos
Comment:

Improved wording.

Legend:

Unmodified
Added
Removed
Modified
  • ReadonlyWikiPolicy

    v4 v5  
    55Earlier versions of Trac had a defect in which the read-only attribute would not be checked when adding attachments to wiki pages, allowing users with `WIKI_MODIFY` to add attachments to read-only wiki pages rather than enforcing the requirement of `WIKI_ADMIN`. In #11244, the `ReadonlyWikiPolicy` was added, which unequivocally requires `WIKI_ADMIN` for modifying, deleting or renaming of read-only pages (and adding an attachment requires permission to modify the page). Enforcing the read-only attribute through a permission policy additionally allows a custom permission policy to be written for enforcing the read-only attribute.
    66
    7 For new Trac installations in 1.1.2 and later, `ReadonlyWikiPolicy` is enabled by default. When upgrading from earlier versions, `ReadonlyWikiPolicy` will be added to the list of permissions policies when running `trac-admin $env upgrade` if `permissions_policies` has the default value `DefaultPermissionPolicy, LegacyAttachmentPolicy`. If `permissions_policies` has some other value, then the TracIni configuration file needs to be edited to add `ReadonlyWikiPolicy` to the list of `permission_policies`. A message will be echoed to the console when running `trac-admin $env upgrade`, indicating if any action needs to be taken. `ReadonlyWikiPolicy` should be placed before `DefaultPermissionPolicy, LegacyAttachmentPolicy`.
     7For new Trac installations in 1.1.2 and later, `ReadonlyWikiPolicy` is enabled by default. When upgrading from earlier versions, `ReadonlyWikiPolicy` will be added to the list of permissions policies when upgrading the environment if `permissions_policies` has the default value `DefaultPermissionPolicy, LegacyAttachmentPolicy`. If `permissions_policies` has some other value, then the TracIni configuration file needs to be edited to add `ReadonlyWikiPolicy` to the list of `permission_policies`. A message will be echoed to the console when upgrading the environment, indicating if any action needs to be taken. `ReadonlyWikiPolicy` should be placed before `DefaultPermissionPolicy, LegacyAttachmentPolicy`.
    88{{{#!ini
    99[trac]