Changing permission class