Privileges button added to reports

master 5.4.124
Andrew Yushev 3 months ago
parent ac3ae8717c
commit 814cb6444f
  1. BIN
      builder/admin.sqlite
  2. BIN
      builder/builder.sqlite
  3. 3
      builder/js/app_builder.js
  4. 2
      jam/__init__.py
  5. 3
      jam/js/admin.js
  6. 2
      jam/js/admin.min.js

Binary file not shown.

Binary file not shown.

@ -1167,7 +1167,8 @@ function Events3() { // sys_items
'client_module',
'server_module',
'divider',
'report_params'
'report_params',
'privileges'
]);
}
}

@ -1,4 +1,4 @@
__version__ = (5, 4, 123)
__version__ = (5, 4, 124)
def version():
return '%s.%s.%s' % __version__

@ -1167,7 +1167,8 @@ function Events3() { // sys_items
'client_module',
'server_module',
'divider',
'report_params'
'report_params',
'privileges'
]);
}
}

@ -134,7 +134,7 @@ else if(task.item_tree.type_id.value===task.item_types.TASK_TYPE){task.add_butto
else if(task.item_tree.type_id.value===task.item_types.ITEMS_TYPE){btns=['client_module','server_module','divider','viewing','editing','filters','divider','details','divider','order','indices','foreign_keys','divider','reports','divider','privileges'];task.add_buttons(task,btns);}
else if(task.item_tree.type_id.value===task.item_types.TABLES_TYPE){btns=['client_module','server_module','divider','viewing','editing','filters','divider','divider','order','indices','foreign_keys','divider','reports','divider','privileges'];task.add_buttons(task,btns);}
else if(task.item_tree.type_id.value===task.item_types.ITEM_TYPE||task.item_tree.type_id.value===task.item_types.TABLE_TYPE){task.add_buttons(task,['client_module','server_module','divider','viewing','editing','divider','order','divider','privileges']);}
else if(task.item_tree.type_id.value===task.item_types.REPORTS_TYPE){task.add_buttons(task,['client_module','server_module','divider','report_params']);}}
else if(task.item_tree.type_id.value===task.item_types.REPORTS_TYPE){task.add_buttons(task,['client_module','server_module','divider','report_params','privileges']);}}
function tree_changed(item){var task=item.task,item_tree=item.task.item_tree,fields;item.set_where({parent:item_tree.id.value});init_fields(item);item.view(task.view_panel);init_buttons(item);}
function get_type_id(item){var parent_type_id=item.task.item_tree.type_id.value,types=item.task.item_types,task=item.task;if(parent_type_id===types.TASKS_TYPE){return types.TASK_TYPE;}
else if(parent_type_id===types.TASK_TYPE){return types.ITEMS_TYPE;}

Loading…
Cancel
Save