Menu

Trac Commit Log


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

PermissionPolicy: fix !PermissionCache.permissions 0.10 compatibility method.

2007-02-06 14:40:23 Tree
[r4696] by cboos

PermissionPolicy: merge changes from trunk [4658:4693/trunk]

2007-02-06 14:26:42 Tree
[r4695] by cboos

PermissionPolicy: fix the realm for the permissions checks on the ''About'' page.

2007-02-06 13:55:33 Tree
[r4694] by cboos

Blame branch was merged in trunk for 0.11dev in r4561.

2007-02-06 13:50:53 Tree
[r4693] by cboos

Unicode support in the Wiki engine. Now regexps can target unicode characters using "\w". We use that to support internationalized characters in WikiPageNames. Fixes #230.

2007-02-06 13:10:57 Tree
Older >
Auth0 Logo