Menu

Trac Commit Log


Commit Date  
[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
[r4600] by cboos

PermissionPolicy: several minor fixes and cleanups
- check for attachment replacement, by checking for both 'CREATE' and 'DELETE'; to make this easier, `perm.require` accepts a list of permissions
- use unqualified verbs for the wiki module
- display the Attach button on the wiki view when this is the only possible action

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:config]
@administrators = VIEW

[about:systeminfo]
* = VIEW
}}}

2007-01-18 17:19:51 Tree
[r4598] by cboos

PermissionPolicy: merged latest changes from trunk [4590:4597/trunk]

2007-01-18 16:58:39 Tree
Older >
Auth0 Logo