| Commit | Date | |
|---|---|---|
| 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 |
| 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 |
|
[r4600]
by
cboos
PermissionPolicy: several minor fixes and cleanups |
2007-01-18 18:18:05 | Tree |
|
[r4599]
by
cboos
PermissionPolicy: as expected, the Context class can be easily used for describing "pseudo" resources Example: for the !AuthzPolicy plugin (see sample-plugins/authz_policy.py), it is possible to configure the TracIni configuration view to be visible only to administrators, whereas the system information can be viewed by anyone. {{{ [about:systeminfo] |
2007-01-18 17:19:51 | Tree |