mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-25 18:54:29 +01:00
adding a search page dedicated for admin
This commit is contained in:
parent
22364c0f03
commit
181597e273
@ -447,6 +447,12 @@ class LdapCherry(object):
|
|||||||
|
|
||||||
@cherrypy.expose
|
@cherrypy.expose
|
||||||
def searchuser(self):
|
def searchuser(self):
|
||||||
|
""" search user page """
|
||||||
|
self._check_auth(must_admin=False)
|
||||||
|
pass
|
||||||
|
|
||||||
|
@cherrypy.expose
|
||||||
|
def searchadmin(self):
|
||||||
""" search user page """
|
""" search user page """
|
||||||
self._check_auth(must_admin=True)
|
self._check_auth(must_admin=True)
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user