Upgrading plugins to have levels of permissions that can be granted