Skip to content

Commit

Permalink
Remove content section access policy from GetAllLanguages endpoint. #…
Browse files Browse the repository at this point in the history
…15435 (#15450)

(cherry picked from commit cedfdcc)
  • Loading branch information
Reaction77 authored and bergmania committed Dec 18, 2023
1 parent f9ea546 commit 38f7df2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public LanguageController(ILocalizationService localizationService, IUmbracoMapp
/// </summary>
/// <returns></returns>
[HttpGet]
[Authorize(Policy = AuthorizationPolicies.SectionAccessContent)]
public IEnumerable<Language>? GetAllLanguages()
{
IEnumerable<ILanguage> allLanguages = _localizationService.GetAllLanguages();
Expand Down

0 comments on commit 38f7df2

Please sign in to comment.