Table Name: tabDocShare
Sr | Fieldname | Type | Label | Options |
---|---|---|---|---|
1 | user |
Link | User | User |
2 | share_doctype |
Link | Document Type | DocType |
3 | share_name |
Dynamic Link | Document Name |
share_doctype |
4 | read |
Check | Read | |
5 | write |
Check | Write | |
6 | share |
Check | Share | |
7 | everyone |
Check | Everyone |
Inherits from frappe.model.document.Document
frappe.core.doctype.docshare.docshare.on_doctype_update ()
Add index in tabDocShare
for (user, share_doctype)