{* +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | | CiviCRM is free software; you can copy, modify, and distribute it | | under the terms of the GNU Affero General Public License | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | | | CiviCRM is distributed in the hope that it will be useful, but | | WITHOUT ANY WARRANTY; without even the implied warranty of | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | See the GNU Affero General Public License for more details. | | | | You should have received a copy of the GNU Affero General Public | | License and the CiviCRM Licensing Exception along | | with this program; if not, contact CiviCRM LLC | | at info[AT]civicrm[DOT]org. If you have questions about the | | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ *} {* this template is used for adding/editing ACL *}
{if $action eq 8}
  {ts}WARNING: Delete will remove this permission from the specified ACL Role.{/ts} {ts}Do you want to continue?{/ts}
{else}
{include file="CRM/common/formButtons.tpl" location="top"}
{/if}
{$form.name.label} {$form.name.html}
{ts}Enter a descriptive name for this permission (e.g. 'Edit Advisory Board Contacts').{/ts}
{$form.entity_id.label} {$form.entity_id.html}
{ts}Select a Role to assign (grant) this permission to. Select the special role 'Everyone' if you want to grant this permission to ALL users. 'Everyone' includes anonymous (i.e. not logged in) users. Select the special role 'Authenticated' if you want to grant it to any logged in user.{/ts}
{$form.operation.label} {$form.operation.html}
{ts}What type of operation (action) is being permitted?{/ts}
{$form.object_type.label} {$form.object_type.html}
 {ts}Select the type of data this ACL operates on.{/ts}
{if $config->userSystem->is_drupal EQ '1'}
{ts}IMPORTANT: The Drupal permissions for 'access all custom data' and 'profile listings and forms' override and disable specific ACL settings for custom field groups and profiles respectively. Do not enable those Drupal permissions for a Drupal role if you want to use CiviCRM ACL's to control access.{/ts}
{$form.group_id.label} {$form.group_id.html}
{ts}Select a specific group of contacts, OR apply this permission to ALL groups.{/ts}
{$form.uf_group_id.label} {$form.uf_group_id.html}
{ts}Select a specific profile, OR apply this permission to ALL profiles.{/ts}
{ts}NOTE: Profile ACL operations affect which modes a profile can be used in (i.e. Create a new contact, Edit your own contact record, View a contact record, etc.). The Create operation is required for profiles embedded in online contribution or event registration forms. None of the operations for Profile ACLs grant access to administration of profiles.{/ts}
{$form.custom_group_id.label} {$form.custom_group_id.html}
{ts}Select a specific group of custom fields, OR apply this permission to ALL custom fields.{/ts}
{ts}NOTE: For Custom Data ACLs, the 'View' and 'Edit' operations currently do the same thing. Either option grants the right to view AND / OR edit custom data fields (in all groups, or in a specific custom data group). Neither option grants access to administration of custom data fields.{/ts}
{$form.event_id.label} {$form.event_id.html}
{ts}Select an event, OR apply this permission to ALL events.{/ts}
{ts}NOTE: For Event ACLs, the 'View' operation allows access to the event information screen. "Edit" allows users to register for the event if online registration is enabled.{/ts}
{if $config->userSystem->is_drupal EQ '1'} {ts}Please remember that Drupal's "register for events" permission overrides CiviCRM's control over event information access.{/ts} {/if}
{$form.is_active.label} {$form.is_active.html}
{/if}
{include file="CRM/common/formButtons.tpl" location="bottom"}
{include file="CRM/common/showHide.tpl"} {literal} {/literal}