When user is created from Administer > Users > Add user - although the permissions are shown, they are not stored.

While language access settings at /user/x/edit work perfectly.

CommentFileSizeAuthor
#3 i18n_access-update-2.patch686 bytestoemaz
#2 i18n_access-update.patch665 bytestoemaz

Comments

toemaz’s picture

Line 31 might need to be edited:

  elseif ($op == 'submit' && $category == 'account') {

to

  elseif ($op == 'update' && $category == 'account') {

since $account->uid is empty when the user has not been created yet.

@pshahmumbai
Are you able to test this when I commit a patch to the dev?

toemaz’s picture

Status: Active » Needs review
StatusFileSize
new665 bytes

Find patch attached

toemaz’s picture

Version: 6.x-1.0-alpha1 » 6.x-1.x-dev
StatusFileSize
new686 bytes

The previous patch was not good. Review this one instead.

pshahmumbai’s picture

Status: Needs review » Reviewed & tested by the community

above patch works great :) thanks a ton.

toemaz’s picture

Status: Reviewed & tested by the community » Fixed

Committed to the dev. I will be releasing 6.x-1.1 when other patches are committed and tested as well.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.