Hackfest getting everything to play nice, adding inheritance of permissions, cleaned up permissions loading to remove false permissions if adding true permissions, removing double permissions etc.