Enable All User Level Permissions

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
totza2010
User
Posts: 109

Enable All User Level Permissions

Post by totza2010 »

in page setting User level have checkbox input 1122 point, when set checked all checkbox then update, when re open page checkbox input not checked all, but Only 908 can be checked in the same box.


arbei
User
Posts: 9384

Post by arbei »

You may want to explain what is "page setting User level", "checkbox input 1122 point" and "Only 908".


totza2010
User
Posts: 109

Post by totza2010 »

e.g. http://xxx.net/userpriv?LevelID=99

in this page is show checkbox for set permission. for 102 page(home, about, ...etc) and 11 permission(add, view, list, ....etc) every page. sum = 1122 checkbox


arbei
User
Posts: 9384

Post by arbei »

I cannot reproduce with the demo project of v2024. Make sure you set privileges as the super admin or user from the Administrator User Level. If you set privileges as a user with the "Admin" permission only, you are not a real administrator, and you can only grant privileges that you have. (Also make sure you are not using TINYINT as the data type of the permission field.)


totza2010
User
Posts: 109

Post by totza2010 »

Setting up permissions results in a large number of checkboxes as well. And it seems that when sending the load page with each update, it will store no more than 900 checkbox data points.


arbei
User
Posts: 9384

Post by arbei »

You better check and increase your max_input_vars setting in your php.ini.


mobhar
User
Posts: 11727

Post by mobhar »

Yes, that's right.


Post Reply