Make sure permissions are registered.