diff options
author | Simo Sorce <simo@redhat.com> | 2014-10-06 23:22:10 -0400 |
---|---|---|
committer | Patrick Uiterwijk <puiterwijk@redhat.com> | 2014-10-07 16:48:22 +0200 |
commit | 3f7e6358c02d0822c5fe1c2da72a3b32ffe12ec6 (patch) | |
tree | 197bfdcce9da276be5f6d6a125ad17836f49d406 /ipsilon/providers/saml2/admin.py | |
parent | 5fd2b52a5518864571afb9139074e4d314ec688c (diff) | |
download | ipsilon.git-3f7e6358c02d0822c5fe1c2da72a3b32ffe12ec6.tar.gz ipsilon.git-3f7e6358c02d0822c5fe1c2da72a3b32ffe12ec6.tar.xz ipsilon.git-3f7e6358c02d0822c5fe1c2da72a3b32ffe12ec6.zip |
Fix exposed functions
The Page util is supposed to intercept and enable exposed pages on
its own so that additional functions can be run in the generic __call__
Fix the code to check for the function argument correctly and use a
different argument than the standard cherrypy one for admin pages so
that we do actually land in the Page.__call__ all the time for those
pages.
Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'ipsilon/providers/saml2/admin.py')
-rwxr-xr-x | ipsilon/providers/saml2/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipsilon/providers/saml2/admin.py b/ipsilon/providers/saml2/admin.py index b8c8223..7e14312 100755 --- a/ipsilon/providers/saml2/admin.py +++ b/ipsilon/providers/saml2/admin.py @@ -274,7 +274,7 @@ class SPAdminPage(Page): self.parent.del_sp(self.sp.name) self.sp.permanently_delete() return self.parent.root() - delete.exposed = True + delete.public_function = True class AdminPage(Page): |