Alter declarations of the permissions constants

Thomas pointed out I had mistakenly made these extern vars instead of extern consts