The PrimaryDOAutorization is now supported for ribbons and toolbars.
For blocks, visibilityRules can be specified on the MenuStructure level and for items it can be defined in the MenuFunction visibilityRules.
Examples
{ "PrimaryDOAuthorization": "CanCreate" } { "PrimaryDOAuthorization": "CanDelete" } { "PrimaryDOAuthorization": "CanModify" } { "PrimaryDOAuthorization": "CanFetch" } { "PrimaryDOAuthorization": "CanSaveChanges" } { "PrimaryDOAuthorization": "CanCreate,CanDelete,CanModify"}
It will check for the TABLEIO:SRC, which could be the form, and from that form it will read the DISPLAY or DATA link of that form.
From the BE of the form it will read the catalog SecurityRestrictions and apply the visibiltyRules based on that.
There is one limitation in this version, it only works with one BusinessEntity.
Requirement: Setting in SCL configuration file, ( .applicationsettings, .restapplicationsettings files) "UseDetailedRequestAuthorizationOnUpdate": true