Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elevation action is case sensitive #1289

Closed
alan-null opened this issue Oct 26, 2022 · 0 comments
Closed

Elevation action is case sensitive #1289

alan-null opened this issue Oct 26, 2022 · 0 comments
Labels
area-security improvement Extra sugar and spice.
Milestone

Comments

@alan-null
Copy link
Member

Steps:

Configure any gate with elevation action using uppercase.

Actual result:
Elevation action is case sensitive - not parsed correctly unless you specify it explicitly.

Expected result:
Elevation action is case insensitive

Related code:
https://github.com/SitecorePowerShell/Console/blob/master/src/Spe/Core/Settings/Authorization/SessionElevationManager.cs#L39

POC
image

@alan-null alan-null added improvement Extra sugar and spice. area-security labels Oct 26, 2022
@alan-null alan-null added this to the 6.5 milestone Dec 8, 2022
@AdamNaj AdamNaj modified the milestones: 6.5, 7.0 May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-security improvement Extra sugar and spice.
Projects
None yet
Development

No branches or pull requests

2 participants