You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: