ContactManager contact and tag permission check expressions
In a page configuration file (PCF), you can control permissions on specific widgets with Gosu expressions that determine if a user has permission to perform an operation.
For example, in the ContactManager NewContact.pcf file, the canVisit attribute is set to:
perm.ABContact.create(ContactType) and
ContactTagType.userHasCreatePermissionForAtLeastOneContactTagType()
These expressions control access to this page. They allow access only to users who have both subtype permission to create the contact and at least one tag permission to create a tag.
Note: To see this PCF file, in Guidewire Studio™ for ContactManager, press
Ctrl+Shift+N and enter NewContact, and
then double-click
NewContact.pcf
(configuration\config\web\pcf\contacts) in the list of objects that the
system finds. 