There Was an Issue Creating a Custom Doctype Using Permission Manager "ERROR"

Hello guys, I face a problem when I set user permission for my Custom doctype in edit doctype, it does not work, but when I set user permission for a same doctype in role permission manager it works well, I need to know the reason for it, some one explain the reason to me.