Menu

Trac Commit Log


Commit Date  
[r4610] by cboos

PermissionPolicy: merged changes from trunk (r4603,r4606:4608)

2007-01-19 21:29:07 Tree
[r4609] by cboos

PermissionPolicy: fixed remaining issues with the unit-tests (ticket permissions and general permissions).

2007-01-19 21:26:23 Tree
[r4608] by cmlenz

Workaround for annoying failure in the wiki formatting tests.

2007-01-19 16:35:24 Tree
[r4607] by cboos

Be more robust w.r.t changesets which don't have an ''author'' value set. Thanks to ''toten'' on IRC for bringing this up.

2007-01-19 13:19:58 Tree
[r4606] by cboos

Fix pygments rendering unit tests. They were initially written for Pygments 0.5.1. Now they're compatible with 0.7. The output still exhibits the empty span issue (see #4339).

2007-01-19 12:16:37 Tree
[r4605] by cboos

PermissionPolicy: fixed the ticket: TracLinks unit tests. It was a bit tricky to discover that the status enum had to exist in the DB in order for the ticket status field to be retrieved correctly... (see `TicketSystem.get_ticket_fields`)

2007-01-19 10:23:35 Tree
[r4604] by cboos

PermissionPolicy: indirect contexts can now be detected based on the length of the `permid()` tuple

2007-01-19 08:47:48 Tree
[r4603] by thatch

Custom tab expansion for #4557, with some basic tests

2007-01-18 21:24:50 Tree
[r4602] by cboos

PermissionPolicy: TracLinks to non-viewable tickets are shown as missing. Some unit-test updates (though there are still a few issues, will fix tomorrow).

2007-01-18 21:12:57 Tree
[r4601] by cboos

PermissionPolicy: the !PermissionCache is again at the Request level

The Context only has a !PermissionCacheProxy for conveniently delegating calls to the actual cache. There, the permissions for the user are looked-up at most once for each context.

In order to differentiate among different "indirect" resources (e.g. attachments) that can share the same (realm,id), a new `Context.permid()` has been introduced. The default implementation should be enough to provide a unique key for the resource in the permission system. In the case of attachments for example, that key can be augmented by the parent context's key.

2007-01-18 21:12:02 Tree
Older >
Auth0 Logo