mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-01 15:47:06 +00:00
permission engine bugfix
This commit is contained in:
@@ -68,7 +68,8 @@ class DocType:
|
||||
'create': cint(perm.create),
|
||||
'cancel': cint(perm.cancel),
|
||||
'submit': cint(perm.submit),
|
||||
'amend': cint(perm.amend)
|
||||
'amend': cint(perm.amend),
|
||||
'match': perm.match
|
||||
} for perm in sorted(doclist,
|
||||
key=lambda d: [d.fields.get('permlevel'),
|
||||
d.fields.get('role')]) if perm.doctype=='DocPerm']
|
||||
|
||||
Reference in New Issue
Block a user