Added support for role based menus (#908)
commit79c4474a84ab667d03f1fa04606d4f39d13834ca
authorBrady Miller <brady.g.miller@gmail.com>
Sat, 8 Jul 2017 20:39:24 +0000 (8 13:39 -0700)
committerGitHub <noreply@github.com>
Sat, 8 Jul 2017 20:39:24 +0000 (8 13:39 -0700)
tree1dd2d1e798e9c49db943b01a1e8fc4ec3fcbdddd
parent01674b1dacb19aa28c16ac5652fa8020774b9d37
Added support for role based menus (#908)

-Select menu in Administration->Users (Main Menu Role setting)
-Can select hard-coded standardized options (Standard, Answering Service, Front Office)
-Can also select custom options which are stored at:
  sites/<site>/documents/custom_menus/
  (currently is an example Custom.json there)
  (any json menu file stored there can be selected))

-The structures of the Answering Service and Front Office menus were
 written by Ray.
17 files changed:
composer.json
entities/User.php
interface/main/tabs/menu/menu_json.php
interface/main/tabs/menu/menus/answering_service.json [new file with mode: 0644]
interface/main/tabs/menu/menus/front_office.json [new file with mode: 0644]
interface/main/tabs/menu/menus/standard.json [copied from interface/main/tabs/menu/menu_data.json with 99% similarity]
interface/usergroup/user_admin.php
interface/usergroup/usergroup_admin.php
interface/usergroup/usergroup_admin_add.php
library/menu/MainMenuRole.php [new file with mode: 0644]
sites/default/documents/custom_menus/Custom.json [moved from interface/main/tabs/menu/menu_data.json with 99% similarity]
sql/5_0_0-to-5_0_1_upgrade.sql
sql/database.sql
vendor/composer/autoload_classmap.php
vendor/composer/autoload_psr4.php
vendor/composer/autoload_static.php
version.php