How to include the Doctype Department on Role Permission Manager
You will need to use a custom field in the DocType your working on to link it to the Department one.
ex: Customize the Purchase Order DocType and add a custom field Link type and point it to the Department in the adding the same in options field.