You are here

constant UC_ADDRESSES_ACCESS_ADD_EDIT in Ubercart Addresses 6

Same name and namespace in other branches
  1. 5.2 uc_addresses.module \UC_ADDRESSES_ACCESS_ADD_EDIT
  2. 5 uc_addresses.module \UC_ADDRESSES_ACCESS_ADD_EDIT

Give users the ability to add or edit anyone's addresses. Anyone with this permission also has UC_ADDRESSES_ACCESS_VIEW_DEFAULT and UC_ADDRESSES_ACCESS_VIEW_ALL.

4 uses of UC_ADDRESSES_ACCESS_ADD_EDIT
theme_uc_addresses_list_address in ./uc_addresses.module
Theme the address list view.
uc_addresses_can_add_edit_address in ./uc_addresses.module
Checks if the current user has may edit addresses of user $address_user.
uc_addresses_can_view_addresses in ./uc_addresses.module
Checks if the current user may view addresses of user $address_user.
uc_addresses_list_addresses in ./uc_addresses.module
Generate a list of one or all addresses defined by one user and then theme the list for display.

File

./uc_addresses.module, line 43

Code

define('UC_ADDRESSES_ACCESS_ADD_EDIT', 'add/edit addresses');