Menu

Trac Commit Log


Commit Date  
[r4707] by cboos

Fix diff href issue introduced by r4684, fixes #4682.

2007-02-07 16:42:52 Tree
[r4706] by cboos

Fix bug in Milestone editing: `milestone.completed` can be `None` here.

2007-02-07 15:31:12 Tree
[r4705] by cboos

PermissionPolicy: added `perm.has_any` and `perm.has_all`

2007-02-07 14:22:07 Tree
[r4704] by cboos

PermissionPolicy: follow-up to r4700, changed my mind (again) about the `perm.require` semantic... now I think the code is self-explaining.

2007-02-07 13:31:19 Tree
[r4703] by cboos

PermissionPolicy: improved debugging log for the permission checks

2007-02-07 13:24:28 Tree
[r4702] by cboos

PermissionPolicy: the AuthzPolicy permission check was always returning an authoritative answer, even if no actual match was found in the authz_policy file. Now, the AuthzPolicy can be used before the !DefaultPermissionPolicy.

2007-02-07 13:19:35 Tree
[r4701] by cboos

PermissionPolicy: this log.debug statement was failing when context.id contained unicode characters.

2007-02-06 18:35:25 Tree
[r4700] by cboos

PermissionPolicy: changed the semantic of `perm.require(*actions)`

Now, the check passes if ''any'' of the listed actions is permitted.
This is because a `require` check for ''all'' actions can simply be done by a succession of `require()` calls.

The above is used for the `Attachment._render_list` check, where a LIST permission can also be used instead of the VIEW one in order to get access to the list of attachments (addresses #4240).

Also, the `PermissionCache.require` is now compatible again with old-style `req.perm.assert_permission('...')` checks.

Finally, the message corresponding to a `PermissionError` has been made more explicit.

2007-02-06 18:19:19 Tree
[r4699] by cboos

PermissionPolicy: follow-up to r4666, forgot to rename occurrences of `self_href` to `resource_href` in the templates.

2007-02-06 17:29:50 Tree
[r4698] by cboos

PermissionPolicy: stop using req.hdf in get_diff_options (this was triggering a call to the deprecated `PermissionCache.permissions()` method)

2007-02-06 14:45:53 Tree
Older >
Auth0 Logo