Jump to content

Impossible to modify member permissions


Recommended Posts

Hello ! :)

I have a large number of forums and catégories on my board and,now, I can no longer modify a member group permissions : I uncheck/check the boxes for permissions in the ACP and everything seems to work fine, but it doesn't keep the changes.

 

The first time this happened to me, I was told it was likely I was running into a limitation of my server (Centos 6.6 - 64 Gb RAM - 12 processors), max_allowed_packets or max variables.

So, I changed php memory_limit value to 128M and it fixed the problem.

 

But now, using a higher value for memory_limit doesn't help fixing the problem.

 

Is there something else I can try ? (apart from removing a few categories)

 

Thank you ! :)

 

 

 

Link to comment
Share on other sites

That setting won't affect "performance" in any way, it's simply an upper limit to a form submission.

Whatever size is the form, the variable must be set to a high enough value to accept it.

If you have a lot of permission sets, 2000 may not be high enough. I set my own server to 5000, for example.

Link to comment
Share on other sites

That setting won't affect "performance" in any way, it's simply an upper limit to a form submission.

Whatever size is the form, the variable must be set to a high enough value to accept it.

If you have a lot of permission sets, 2000 may not be high enough. I set my own server to 5000, for example.

​Do you by any chance know what the setting is provided for? I mean, why is it a setting? Does it provide some level of security, performance or some other benefits to have it low?

Link to comment
Share on other sites

​Do you by any chance know what the setting is provided for? I mean, why is it a setting? Does it provide some level of security, performance or some other benefits to have it low?

Put as simply, and as short, as possible, when you submit a "form", that form can have many fields containing variables. In this case, those are the permissions checkboxes.

The setting is merely an upper limit on the number of those fields within the form. Any given submitted form may have far fewer than 2000 or 5000 total fields.

But there is no additional security or performance gains by setting it higher or lower.

Link to comment
Share on other sites

I technically understand what the setting does. But since there seems to be no obvious benefits from having it low, it sounds useless to have implemented as a PHP setting. Do you agree? Or do you find there are proper use cases for it?

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...