Removed 'update_repository' permission and replaced it with a bunch of more specific permissions.