Skip to content

Commit e8c4095

Browse files
committed
added check permissions on infos routes
1 parent 1b10c0b commit e8c4095

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

openscraper/controller.py

+6
Original file line numberDiff line numberDiff line change
@@ -1464,6 +1464,7 @@ class InfosWhyHandler(BaseHandler) :
14641464
"""
14651465
"""
14661466
@print_separate(APP_DEBUG)
1467+
@check_user_permissions
14671468
def get(self):
14681469

14691470
app_log.info("InfosWhyHandler.get... ")
@@ -1486,6 +1487,7 @@ class InfosTutoHandler(BaseHandler) :
14861487
"""
14871488
"""
14881489
@print_separate(APP_DEBUG)
1490+
@check_user_permissions
14891491
def get(self):
14901492

14911493
app_log.info("InfosTutoHandler.get... ")
@@ -1510,6 +1512,7 @@ class InfosAPIdocHandler(BaseHandler) :
15101512
"""
15111513
"""
15121514
@print_separate(APP_DEBUG)
1515+
@check_user_permissions
15131516
def get(self):
15141517

15151518
app_log.info("InfosAPIdocHandler.get...")
@@ -1548,6 +1551,7 @@ class InfosStackHandler(BaseHandler) :
15481551
"""
15491552
"""
15501553
@print_separate(APP_DEBUG)
1554+
@check_user_permissions
15511555
def get(self):
15521556

15531557
app_log.info("InfosStackHandler.get... ")
@@ -1572,6 +1576,7 @@ class InfosContributeHandler(BaseHandler) :
15721576
"""
15731577
"""
15741578
@print_separate(APP_DEBUG)
1579+
@check_user_permissions
15751580
def get(self):
15761581

15771582
app_log.info("InfosContributeHandler.get... ")
@@ -1596,6 +1601,7 @@ class InfosCreditsHandler(BaseHandler) :
15961601
"""
15971602
"""
15981603
@print_separate(APP_DEBUG)
1604+
@check_user_permissions
15991605
def get(self):
16001606

16011607
app_log.info("InfosCreditsHandler.get... ")

0 commit comments

Comments
 (0)