The 'New' menu is configured in mysql table menu. The menu can be configured per tree node, template and user/group.
Table structure of menu table:
|node_ids||the menu will appear for node_ids and their children objects|
|node_template_ids||for children nodes with template_id|
|user_groups_ids||for user and user groups|
|menu||comma separated list of tempalte id and '-' (rendered as a visual separator)|
Menu rules may overlap. To determine the menu for a given object and logged in user, CB will apply these principles:
Example: to determine the menu for /folder1/folder2/folder3/ CaseBox will select the menus that matches any of the folders (1, 2, 3), logged in user or template_id of folder1, folder2, folder3. Suppose there are two menus for folder1 and folder2. Because folder2 is closer to folder3, CB will use folder2 menu for folder3.
|18,-,10||the default menu|
|14||24,27,-,18,-,10||menu for children of nodes with template_id=14|
|5,6||11||3,-,17,-,10||menu for children of nodes with ids=(5,6) and logged in user(or user groups he belongs to) is 11|