Thread:Project:Support desk/Special groups edit pages belong to them&change default mail content/reply (3)

Use $wgRestrictionLevels:

Then, you should be able to protect "Department A", "company A" and "Department B".