Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Unable to edit all Roles permissions
![Browning](https://secure.gravatar.com/avatar/c39e2f311ef27181ee075b7bb6ecfa47/?default=https%3A%2F%2Fvanillicon.com%2Fce252b02396624f1f2283d642944d14f_100.png&rating=g&size=100)
I am assisting with editing roles for a vanilla forum with around 90 roles and a little over 100 boards.
If try to edit a role's permissions, I can only edit their permissions for about the first 50 boards. For the last ~40 boards, changes to the tick boxes do not save.
I've been working around this by changing the permissions for the boards them selves rather than the roles, but that means much more work
0
Comments
Our apache2 error.log says
PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
. Increasing this to 2000 helps, but according to this post, we shouldn't be experiencing this problem with fewer than 200 boards, and I hate to have the ini setting higher than default if it's not necessary (as it aims to prevent DoS attacks). Any suggestions?Temporarily increase the ini setting and then reduce after you are done.
The controller could also be refactored to serialize the array before transport, since this is hitting the limit on the number of input vars, not the size of the input vars.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
The issue here is not the number of categories, but rather the number of categories with custom permissions multiplied by total roles. Vanilla's category & role structure isn't designed to build 100 isolated enclaves.
Could someone who experiences this problem check if this plugin solves it for them?
http://vanillaforums.org/addon/saveallroles-plugin-0.1
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS