commit | e142d9cbbec237161553d66fe1ec540c918681a4 | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@erpnext.com> | Wed Jan 02 16:46:35 2013 +0530 |
committer | Anand Doshi <anand@erpnext.com> | Wed Jan 02 16:46:35 2013 +0530 |
tree | b461dbf423193634737ca39575523123d07d584a | |
parent | 55bf3a3357a753ddfbac61b31c36c8ce499b506a [diff] |
in feed show records of doctypes for which user has read permission at level 0
diff --git a/home/page/activity/activity.py b/home/page/activity/activity.py index cbd28ec..76f2829 100644 --- a/home/page/activity/activity.py +++ b/home/page/activity/activity.py
@@ -10,6 +10,7 @@ from tabFeed t1, tabDocPerm t2 where t1.doc_type = t2.parent and t2.role in ('%s') + and t2.permlevel = 0 and ifnull(t2.`read`,0) = 1 order by t1.modified desc limit %s, %s""" % ("','".join(webnotes.get_roles()),