Commit | Line | Data |
---|---|---|
ebbeaead CW |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
3 | | CiviCRM version 4.7 | | |
4 | +--------------------------------------------------------------------+ | |
2a73d3b0 | 5 | | Copyright CiviCRM LLC (c) 2004-2017 | |
ebbeaead CW |
6 | +--------------------------------------------------------------------+ |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
16 | | See the GNU Affero General Public License for more details. | | |
17 | | | | |
18 | | You should have received a copy of the GNU Affero General Public | | |
19 | | License and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
1e6b547c | 26 | {capture assign=docLink}{docURL page='user/initial-set-up/permissions-and-access-control/' text='Access Control Documentation'}{/capture} |
ebbeaead CW |
27 | |
28 | <div class="help"> | |
29 | <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> | |
30 | </div> | |
31 | ||
32 | {php} | |
33 | $currentStep = $this->get_template_vars('step'); | |
34 | $wizard = array( | |
35 | 'style' => array(), | |
36 | 'currentStepNumber' => $currentStep, | |
37 | 'steps' => array( | |
38 | array( | |
39 | 'title' => ts('Manage Roles'), | |
40 | 'link' => CRM_Utils_System::url('civicrm/admin/options/acl_role', 'reset=1'), | |
41 | ), | |
42 | array( | |
43 | 'title' => ts('Assign Users'), | |
44 | 'link' => CRM_Utils_System::url('civicrm/acl/entityrole', 'reset=1'), | |
45 | ), | |
46 | array( | |
47 | 'title' => ts('Manage ACLs'), | |
48 | 'link' => CRM_Utils_System::url('civicrm/acl', 'reset=1'), | |
49 | ), | |
50 | ), | |
51 | ); | |
52 | foreach ($wizard['steps'] as $num => &$step) { | |
53 | $step['step'] = $step['valid'] = $step['stepNumber'] = $num + 1; | |
54 | if ($step['stepNumber'] == $currentStep) { | |
55 | $step['link'] = NULL; | |
56 | } | |
57 | } | |
58 | $this->assign('wizard', $wizard); | |
59 | {/php} | |
60 | ||
1e6b547c | 61 | {include file="CRM/common/WizardHeader.tpl"} |