diff options
author | Simo Sorce <simo@redhat.com> | 2014-10-06 23:32:34 -0400 |
---|---|---|
committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2014-10-07 16:48:35 +0200 |
commit | 6c60a2e0c335ecc907cfcd576165be45021086a9 (patch) | |
tree | 834ca0144c397c6fb3356a6b7bbd5aea6b5ec946 /ipsilon/info/common.py | |
parent | 3d38500a756d26294956c53bdcc82313a8bbfc55 (diff) | |
download | ipsilon.git-6c60a2e0c335ecc907cfcd576165be45021086a9.tar.gz ipsilon.git-6c60a2e0c335ecc907cfcd576165be45021086a9.tar.xz ipsilon.git-6c60a2e0c335ecc907cfcd576165be45021086a9.zip |
Add auto-auth requirement to all admin pages
Instead ofhaving to explicitly decorate all methods with auth_protect()
use the fact all pages go through Page.__call__ to conditionally check
if the user is anoynous and set a default when instantiating AdminPage
so that all admin pages require authentication.
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'ipsilon/info/common.py')
0 files changed, 0 insertions, 0 deletions