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

Update code editor snippets to Hybrid.Razor14 #3215

Open
enfJoao opened this issue Nov 20, 2023 · 0 comments
Open

Update code editor snippets to Hybrid.Razor14 #3215

enfJoao opened this issue Nov 20, 2023 · 0 comments

Comments

@enfJoao
Copy link

enfJoao commented Nov 20, 2023

I'm submitting a

[x] feature request

...about

[x] APIs like REST

Current Behavior / Expected Behavior

Code for SU check still points to @Dnn.User.IsSuperUser.

Your environment

Either make the API version check (Like moving the @inherits Custom.Hybrid.Razor14 to a view setting instead of the file code), or show both versions of the snippet.
The way this is now, I have to manually check the documentation to find the proper CmsContext.User.IsSystemAdmin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant