Menu

Trac Commit Log


Commit Date  
[r6166] by cboos

Fix Pygments version info in /about page. Closes #6366.

(patch by osimons)

2007-11-19 09:29:16 Tree
[r6165] by cboos

Fix typo in ticket page's title.

Thanks to cblin for noticing this. Closes #6362.

2007-11-16 14:55:13 Tree
[r6164] by cboos

Rework r6163, which broke the "factory" role of a resource with realm set to `None`. Instead, replace that resource with the simpler to handle `None` value at the level of `IPermissionPolicy.check_permission`.

Fixes #6360. Thanks to jgerlach for the helpful report!

2007-11-16 12:52:53 Tree
[r6163] by cboos

Fixed a traceback while checking for a missing global permission 'BROWSER_VIEW' in the changeset timeline event provider.

The cause of this traceback was that a `Resource(None)` object was being created.
While this ''could'' be used for representing the fact that there's actually no real resource associated to the check, it's better to explicitly use `None` for that, as it's already done in other parts of the code.

Therefore the `Resource.__new__` method has been adjusted to take care of this special case. The documentation for that method as well as the unit tests have been expanded a bit.

2007-11-16 11:05:28 Tree
[r6162] by cboos

Add missing ATTACHMENT_VIEW permission check while rendering an attachment.

(patch by osimons)

2007-11-16 11:04:43 Tree
[r6161] by cboos

Delete timeline-refactoring branch which was merged in trunk at r6158.

2007-11-16 10:43:55 Tree
[r6160] by cboos

New interface `trac.attachment.ILegacyAttachmentPolicyDelegate` added.

This enables plugin to benefit from the !LegacyAttachmentPolicy handling of attachment permissions, without having to write their own `IPermissionPolicy` implementation.

2007-11-15 18:05:55 Tree
[r6159] by cboos

Fixing permission checks for attachments so that they always occur on an attachment resource, even for ATTACHMENT_CREATE. In that case, the attachment `.id` is simply `None`.

2007-11-15 15:42:31 Tree
[r6158] by cboos

Merging [source:sandbox/timeline-refactoring@... timeline-refactoring] branch in trunk.

2007-11-15 15:01:06 Tree
[r6157] by cboos

Expand the `IPermissionPolicy` API documentation. Fixes #6211.

2007-11-15 14:45:46 Tree
Older >
Auth0 Logo