cancel
Showing results for 
Search instead for 
Did you mean: 

Limitation stores per user role

Limitation stores per user role

Hi there!

Kinda weird thing that is happening. We have some user roles that we use to some users and we configure per store.

So each user role will have permission to some stores only. The problem is, I can't add more than 60 stores for an user role.

At first I thought it had too many user roles and I need to increase max_input on Apache, but it's not the case. I increased to some huge number (9999999999999 for example) and still having problems. It will only save the first 60 selected.

So if I select 65 stores, it will save the first 60 of the list, nothing else.

 

Anyone knows of any limit?

Thanks.

2 REPLIES

Re: Limitation stores per user role

Hello @Eric Cavalcanti

 

you need to increase two  params
php_value max_input_nesting_level 128 // may be more need
php_value max_input_vars 7000000

 

If works then mark as solution.

Re: Limitation stores per user role

Hey @Sunil Patel, thanks for replying.

That didn't fix, here what I have (just to make sure it wasn't a low number).

max_input_nesting_level = 7000000000000000

max_input_vars = 7000000000000000

 

This is only happening on Role Scopes. Roles Resources works fine, I added a bunch and they are working as expected.