ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Ignore User Permission via Custom Script


Is there any sytnax that I can use in frappe call or some way so that I can ignore user permission on custom script level.


Any help / suggestions ?


Opening ignore_permissions to client side (js) would be serious risk. So I don’t think it will ever be supported. You can create a whitelisted function in py that uses the flag and call that instead.