Rename permissions to permission_types