public static bool IsGranted(this IPermissionChecker permissionChecker, long userId, string permissionName)
 {
     return(AsyncHelper.RunSync(() => permissionChecker.IsGrantedAsync(userId, permissionName)));
 }