WebPart Permission

Adds a WebPartPermission to the project. Represents a custom permission that controls the ability to access Web Part resources

Recipe Description

The recipe adds a line for the permission to the Package.Template.xml (for VS 2010 projects) or to the file CASPolicy.txt (for HIVE projects). Warning: Existing permissions with the same name are replaced completely.

Arguments

Name Description
Connections Optional Boolean. Defines whether Web Part to Web Part connections are allowed.
Unrestricted Required Boolean. If Unrestricted is true, all other permissions will be ignored.

Authors

  • Torsten Mandelkow

Version history

  • 1.0 Initial Recipe