You are here

constant UC_ADDRESSES_ACCESS_VIEW_ALL in Ubercart Addresses 6

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

Give users the ability to view anyone's addresses. Anyone with this permission also has UC_ADDRESSES_ACCESS_VIEW_DEFAULT.

2 uses of UC_ADDRESSES_ACCESS_VIEW_ALL
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 36

Code

define('UC_ADDRESSES_ACCESS_VIEW_ALL', 'view all addresses');