<div class="help">
<p>{ts 1=$docLink}ACLs allow you to control access to CiviCRM data. An ACL consists of an <strong>Operation</strong> (e.g. 'View' or 'Edit'), a <strong>set of data</strong> that the operation can be performed on (e.g. a group of contacts), and a <strong>Role</strong> that has permission to do this operation. Refer to the %1 for more info.{/ts}</p>
</div>
-
-{php}
- $currentStep = $this->getTemplateVars('step');
- $wizard = [
- 'style' => ['barClass' => '', 'showTitle' => FALSE],
- 'currentStepNumber' => $currentStep,
- 'steps' => [
- [
- 'title' => ts('Manage Roles'),
- 'link' => CRM_Utils_System::url('civicrm/admin/options/acl_role', 'reset=1'),
- 'collapsed' => FALSE,
- 'name' => '',
- ],
- [
- 'title' => ts('Assign Users'),
- 'link' => CRM_Utils_System::url('civicrm/acl/entityrole', 'reset=1'),
- 'collapsed' => FALSE,
- 'name' => '',
- ],
- [
- 'title' => ts('Manage ACLs'),
- 'link' => CRM_Utils_System::url('civicrm/acl', 'reset=1'),
- 'collapsed' => FALSE,
- 'name' => '',
- ],
- ],
- ];
- foreach ($wizard['steps'] as $num => &$step) {
- $step['step'] = $step['valid'] = $step['stepNumber'] = $num + 1;
- if ($step['stepNumber'] == $currentStep) {
- $step['link'] = NULL;
- }
- }
- $this->assign('wizard', $wizard);
-{/php}
-
-{include file="CRM/common/WizardHeader.tpl"}