Extension : change for security, now based on MENU_REF
Update the script to put the extension into menu_ref + profile_menu
This commit is contained in:
parent
4cee45d624
commit
58f3e38e84
11 changed files with 193 additions and 310 deletions
4
sql/extension.sql
Normal file
4
sql/extension.sql
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
insert into menu_ref(me_code,me_menu,me_file,me_description,me_type,me_parameter) select ex_code,ex_name,ex_file,ex_desC,'PL','plugin_code='||ex_code from extension;
|
||||
|
||||
insert into profile_menu (me_code,me_code_dep,p_id,p_type_display) select me_code,'EXTENSION',1,'S' from menu_ref where me_type='PL';
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue