You are here

function uc_addresses_perm in Ubercart Addresses 6.2

Same name and namespace in other branches
  1. 5.2 uc_addresses.module \uc_addresses_perm()
  2. 5 uc_addresses.module \uc_addresses_perm()
  3. 6 uc_addresses.module \uc_addresses_perm()

Implementation of hook_perm().

Return value

array A list of permissions.

File

./uc_addresses.module, line 260
Adds user profile address support to Ubercart.

Code

function uc_addresses_perm() {
  return array(
    'view own default addresses',
    'view own addresses',
    "view all default addresses",
    "view all addresses",
    'add/edit own addresses',
    "add/edit all addresses",
    'delete own addresses',
    "delete all addresses",
  );
}