Added a Permission enum to make permission easier to work with