Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: incorrect caching of
is_owner
permissions (#21048)
- Create a doctype - Pick any role and only allow owner to create, read, write. - after_insert hook re-save the document - This will fail because there's a function call to `frappe.only_has_select_perm` which doesn't pass the is_owner, this is likely acceptable if document is not available. Fix: cache should be separate for is_owner Triggered from but not caused by #20810
- Loading branch information