public async Task <IActionResult> GetEffectivePermissions(string specificationId) { Guard.IsNullOrWhiteSpace(specificationId, nameof(specificationId)); Common.ApiClient.Users.Models.EffectiveSpecificationPermission effectivePermissions = await _authorizationHelper.GetEffectivePermissionsForUser(User, specificationId); return(Ok(effectivePermissions)); }