OPAL-2122 - Added the resource permissions MVP for Variable + some clean ups.