Making only certain jobs have the ability to use demote and removing the vote to demote

Ok so, what I basically want is for certain jobs such as Mayor and Police Chief have access to the /demote command. I want only certain jobs being able to be demoted from when your mayor/ police chief

Mayor can only demote Police, Police Chief, Undercover Cop, Secret Service, Swat and Secret Service
Police Chief can only demote Police and Undercover Cop

I want these demotions to happen instantly, no votes happening. I dont want any other job to have access to the demote feature except police chief and mayor.

I cant find any thing online that limits what jobs can use demotes and the removal of the vote when demoting.