You are here

function encrypt_submissions_permission in Encrypt Submissions 7

Implementation of hook_permissions.

File

./encrypt_submissions.module, line 34

Code

function encrypt_submissions_permission() {
  $perms = array(
    "administer encrypt submissions" => array(
      "title" => t("Administer Encrypt Submissions"),
      "description" => t("Configure the Encrypt Submissions module."),
    ),
    "access encrypt submissions" => array(
      "title" => t("Access Encrypt Submissions"),
      "description" => t("This permission allows users to access and use the module\n                          to encrypt form submissions.  If a particular role is not\n                          given this permission, Encrypt Submissions will not\n                          work on the form, and the form will be submitted normally."),
    ),
  );
  return $perms;
}