Skip to content

Permissions

corsacca edited this page Nov 9, 2018 · 1 revision

The code for roles and permissions can be found in dt-core/admin/class-roles.php

Contacts

  • access_contacts // whether the role in a general manner has permission to interact with contacts
  • create_contacts // create a contact
  • view_any_contacts // view every and any contact
  • update_any_contacts // update any contact
  • delete_any_contacts // delete any contact. Not yet implemented.
  • assign_any_contacts // linked to the dispatcher role to determine assignment

Groups

  • access_groups // whether the role in a general manner has permission to interact with groups
  • create_groups // create a group
  • view_any_groups // view every and any group
  • update_any_groups // update any group
  • delete_any_groups // delete any group. Not yet implemented.
  • assign_any_groups // linked to the dispatcher role to determine assignment. Not currently used

//@todo locations permissions