Page 1 of 1

Enable All User Level Permissions

Posted: Tue Mar 05, 2024 5:49 pm
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.


Re: User Level setting

Posted: Tue Mar 05, 2024 7:23 pm
by arbei

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


Re: User Level setting

Posted: Tue Mar 05, 2024 8:48 pm
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


Re: Enable All User Level Permissions

Posted: Wed Mar 06, 2024 12:50 pm
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.)


Re: Enable All User Level Permissions

Posted: Wed Mar 06, 2024 2:09 pm
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.


Re: Enable All User Level Permissions

Posted: Wed Mar 06, 2024 3:00 pm
by arbei

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


Re: Enable All User Level Permissions

Posted: Tue Apr 02, 2024 11:46 am
by mobhar

Yes, that's right.