commit | 64c512dd61033f8454e19e64cff6a42e84e0eea0 | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Fri Dec 13 12:34:52 2013 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Fri Dec 13 12:34:52 2013 +0530 |
tree | 7e32d2ab1a79f008176ce59db0a93abe85a2b80e | |
parent | 5534b59d072e7bc9bb46740e7dd231889a4a357d [diff] |
[minor] [fix] allow roles
diff --git a/setup/page/setup/setup.py b/setup/page/setup/setup.py index 4418f85..11025c9 100644 --- a/setup/page/setup/setup.py +++ b/setup/page/setup/setup.py
@@ -233,8 +233,9 @@ "route": "Report/Scheduler Log", "type": "Link", "icon": "icon-exclamation-sign" }, ] -@webnotes.whitelist(allow_roles=["System Manager"]) +@webnotes.whitelist() def get(): + webnotes.only_for("System Manager") for item in items: if item.get("type")=="Section": continue