Create an Access Control
Administrators can create an access control to grant or revoke access to components in Community Hub based on criteria they define.
- In the Force.com App Menu, select Community Hub Setup.
- In the tab bar, click Access Controls.
- Click New Access Control.
- In
Name, enter an easily recognizable term to identify this access control. - In
Description, enter a description of what the access control does. In
Class, select the Apex class which defines the type of criteria you will use to control access.- For
AccountConditional, inField Name, select the checkbox (true or false) field on the Account to use to grant access. - For
BusinessRuleConditional, inBusiness Rule Name, select the business rule to grant access. - For
InverseQueryConditional, inBusiness Rule Name, select the SOQL query to use to grant access. - For
PermissionSetConditional, inPermission Set, select the permission set to grant access. - For
QueryConditional, inQuery Record Name, select the SOQL query to use to grant access. - For
WithoutPermissionSetConditional, inPermission Set, select the permission set to revoke access.
- For
Click Save.