2

After upgrading to CiviCRM 4.7.15 on Drupal 7.50 Commons, I am trying to enable some permissions relating to CiviCRM, such as "manage tags" and "edit message templates" but any changes I make to the permissions will not "stick" after I hit save. There is no error message and there doesn't seem to be any related error messages in watchdog show or CiviCRM ConfigAndLogs.

Any guidance to troubleshoot is appreciated.

2
  • does other core drupal permission gets updated properly ? Commented Jan 27, 2017 at 9:32
  • Permissions are stored in the drupal table role_permission. Can you find them there? Commented Jan 27, 2017 at 13:17

1 Answer 1

7

Will permissions for non-civicrm related permissions "stick"? If not I've seen this problem before when there are too many roles/permissions on the form. Drupal commons installs a lot of modules, so its possible. You should either edit permissions for the roles individually, so for authenticated user for instance goto admin/people/permissions/2

I believe its the php.ini environmental variable max_input_vars and you should increase the number to get the full permissions form to work

3
  • That's right! if you have a number of roles and many modules that permissions form has a truckload of checkboxes. max_input_vars sounds right. Commented Jan 27, 2017 at 14:46
  • I tried editing permissions for just admin user and it timed out but it looks like the changes saved.
    – Christia
    Commented Jan 27, 2017 at 20:55
  • I don't know if you are hosting on Drupal Commons or just using their distribution. Do you have access to modify your php environmental settings? The real solution will be upping the max_input_vars ... Commented Jan 28, 2017 at 1:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.