Empty PanelMenu because translated group "everybody"

Hello,

I use the security provider "Windows".
The page property allows to define access groups and this works fine (better if there would be also an dropdown like for the ActiveDirectory provider).

But if I open layout -> "menu" -> property "Items" -> and click next to the root item on "Populate from application" (nice function to generate items for all pages), all items are vanish inside the browser.
The access by manually typed URL works like wished.

The reason for this behavior is that in meta\layouts\main.json for each item (new and old) the property "visible": "@Security.IsInRole(new string[]{"Everybody"})" was added.

But Authentication\ClaimsTransformation.cs creates for my environment the group "Jeder" (the German word for "Everybody"), therefore non item will be visible.

Also by Radzen IDE -> Settings -> cultures -> "English" it doesn't work.

My workarounds are

  • replace "Everybody" with "Jeder" or
  • delete the line "visible..." in main.json because the access is manage by page property.
    But both will be broken/overwritten again by "Populate from application".

Is there a better solution?

Changing application culture will only use strings from resx files to translate various text declared in razor files. Role names or anything other in the code is not related to the application culture.