Splits out ilr setting and permission feature
Refactors permissions out of features