First go at setting permissions