How do I hide the create user permission check box for employee ?
Hi,
use it,
if (!frappe.user.has_role([“Employee”]){
frm.set_df_property(“create_user_permission”, “hidden”, 1)
}
Thanks for your reply @Jitendra_Rathod. Can I hide the check box by making any changes in the settings??
dont give write permission in role permission manager
Thanks for your reply @SanRam. Can you tell me where exactly in role permissions manager shall I not give write permission ?? I did the following but its not working.Please help
better you can use depends on option