PropertyItemsScriptOptions.PublicByDefault property
When true (default), form and columns scripts without an explicit Permission in their attribute are public, as in previous versions. When false, they require the ReadPermission of the row type in their BasedOnRow attribute (DENY if the row has none, like lookup scripts), or the FallbackPermission if they have no BasedOnRow attribute. An explicit Permission in FormScript / ColumnsScript attribute is always used.
public bool PublicByDefault { get; set; }
See Also
- class PropertyItemsScriptOptions