Nicolo
Nicolo

Reputation: 215

2sxc Permissions.UserMayEditContent not available anymore

Since the latest 2sxc version 10.20+ the property Permissions.UserMayEditContent isn't available anymore. Error message: The name 'Permissions' does not exist in the current context...

I have implemented the use of latest features of 2sxc 10.20+ by entering @inherits ToSic.Sxc.Dnn.RazorComponent as first line into the razor file as explained here.

The docs.2sxc.org Spec still contains an example here. How should this be implemented with the latest 2sxc DNN Module?

Upvotes: 1

Views: 99

Answers (1)

Nicolo
Nicolo

Reputation: 215

The new property is Edit.Enabled. Found it after long searching as a comment within the 2sxc repository and then within the docs here.

Upvotes: 4

Related Questions