mirror of
https://github.com/erpnext/foundation.git
synced 2026-10-17 02:10:45 +02:00
revert
This commit is contained in:
@@ -25,9 +25,7 @@ class Bounty(WebsiteGenerator):
|
|||||||
bounty_left = self.goal * 0.1
|
bounty_left = self.goal * 0.1
|
||||||
|
|
||||||
# edit permission
|
# edit permission
|
||||||
can_edit = False
|
can_edit = self.owner == frappe.session.user
|
||||||
if 'System Manager' in frappe.get_roles() or self.owner == frappe.session.user:
|
|
||||||
can_edit = True
|
|
||||||
|
|
||||||
context.no_cache = True
|
context.no_cache = True
|
||||||
context.no_breadcrumbs = False
|
context.no_breadcrumbs = False
|
||||||
|
|||||||
Reference in New Issue
Block a user