diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-03 14:59:04 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-03 14:59:04 -0600 |
commit | 8b77efbfabfb3d65b0400e123025c02346454214 (patch) | |
tree | bd9457f27b57b9434d16ac284e4df86013469cb7 /main/middleware.py | |
parent | 710ec0a9de9a2185621cd7f51cdd2a056e12f999 (diff) |
Template fine-grained permissioning
Rather than use user.is_authenticated, rely on certain permissions being
set for the user. This allows us to open up the developer side and not
assume everyone is a package maintainer.
Allow all logged-in users to still view todo lists, but don't show the
complete/incomplete links (only the text) unless they are allowed to
mess with todo lists.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/middleware.py')
0 files changed, 0 insertions, 0 deletions