program development

dedecms information publishers view the content of the custom form

Friends who have used dedecms all know that information publishers do not have permission to view the content of dedecms custom forms. Due to functional needs, they have to implement [...]

article directories

Friends who have used dedecms all know that information publishers do not have the permission to view the content of dedecms custom forms, and have to implement them because of functional needs.

The following method can be used to modify the actual viewing permissions. For reference:

1. Dede/inc/inc_menu.php Move the line of the custom form to the Common Operations menu, and modify the value of rank to ('c_List,a_AccList,a_MyList')
2、dede/diy_list.php CheckPurview ('c_New'); changed to: CheckPurview ('a_AccNew'); just change an open permission name here
3、dede/diy_main.php CheckPurview ('c_List'); change to: CheckPurview ('c_List,a_AccList,a_MyList');
4、dede/diy_add.php CheckPurview(‘c_New’); -> CheckPurview(‘c_List,a_AccList,a_MyList’);