INSERT INTO public.core_permissions (code,permission_name,parent,permission_function,default_child,permission_namespace,"module",permission_description,permission_type,icon,ord,hidden,guest,meta) VALUES
	 ('BADMAFS','administration_assets_forms_edit_save','SADMASF','','','administration/assets/forms','administration','View SAVE button on forms list','BUT','fa-solid fa-floppy-disk',10030,true,false,NULL),
	 ('BADMAFB','administration_assets_forms_edit_back','SADMASF','','','administration/assets/forms','administration','View BACK button on forms list','BUT','fa-solid fa-arrow-left',10030,true,false,NULL),
	 ('BADMAAR','administration_assets_forms_edit_add_row','SADMASF','','','administration/assets/forms','administration','View ADD ROW button on forms list','BUT','fa-solid fa-diagram-next',10030,true,false,NULL),
	 ('BADMAAF','administration_assets_forms_edit_add_field','SADMASF','','','administration/assets/forms','administration','View ADD FIELD button on forms list','BUT','fa-solid fa-square-plus',10030,true,false,NULL);

INSERT INTO public.core_permissions (code,permission_name,parent,permission_function,default_child,permission_namespace,"module",permission_description,permission_type,icon,ord,hidden,guest,meta) VALUES
	('XADASGT','assets_get_data','PADMASF','getAssetData','','','','Guest permission to load asset data','EXE',NULL,90000,false,true,NULL),
    ('XADASUP','assets_update_data','PADMASF','updAssetData','','','','Permission to update asset record','EXE',NULL,90000,false,false,NULL),
    ('XADASCR','assets_create_new','PADMASF','crtAsset','','','','Permission to add new asset record','EXE',NULL,90000,false,false,NULL);

UPDATE public.core_permissions SET  "icon"='fa-solid fa-square-poll-horizontal' where code='PADMASF';

