acl fix

In certain unfortunate cases some permissions may not yet exist on the
app config, leading to a key error during permission setting or getting.
This could be treated as a migration or as a matter of course. This
patch treats it as a matter of course, and adds the appropriate
underlying permission if this was an add_perm (setting), or returns an
empty ACL if this was a query (getting).

Wolf Wolf 2010-05-17

changed pyforge/pyforge/templates/app_admin_permissions.html
changed pyforge/pyforge/app.py
pyforge/pyforge/templates/app_admin_permissions.html Diff Switch to side-by-side view
Loading...
pyforge/pyforge/app.py Diff Switch to side-by-side view
Loading...