Dnn.Platform icon indicating copy to clipboard operation
Dnn.Platform copied to clipboard

[Bug]: Persona Bar does not use Resource files for "All Users"

Open Timo-Breumelhof opened this issue 1 year ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

What happened?

I edited SharedResources.resx to fix #6091. This works for the Module permissions grid, but not the Persona Bar.

image

image

Steps to reproduce?

  1. Edit SharedResources.resx and change "All Users to "Everyone"
  2. Open the Permissions of Page in the Persona Bar
  3. It still says "All Users" in the permissions grid.

Current Behavior

Persona Bar has the virtual role "All Users" text hard coded

Expected Behavior

The text should be loaded from the resource file SharedResources.resx

Relevant log output

No response

Anything else?

Related to #6091 and both should be fixed at the same time IMO. All users > Everyone change : https://dnncommunity.org/forums/future-development/dnn-ideas/quotall-usersquot-is-not-the-best-term-for-security/

Affected Versions

9.13.3 (latest release)

What browsers are you seeing the problem on?

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

Timo-Breumelhof avatar Aug 29 '24 14:08 Timo-Breumelhof

The current permission grid calls Localization.LocalizeRole on the role name. If the Persona Bar's RoleController API methods are updated to call that before returning to the frontend, that should get us pretty close.

bdukes avatar Aug 29 '24 16:08 bdukes