I am running Drupal 5.7. On account creation, users are automatically assigned the Un-Paid Users role. When they purchase a membership, they are assigned the Paid users role.

Upon purchase, the role is changed if I look at the user list but the permission for the role are not applied. All of the pages I go to say Access Denied. The weird thing is... If I check the box next to the user and just leave it as un-block user and hit update... it updates the permissions on the user and then the role change works fine.

So.. what I think is missing.. is the update / refresh to get the permissions to be set correctly. I would try and fix it... but have no idea where to start to look.

Thanks in advance.
Bryan

Comments

rajumaddy619’s picture

I need to do the same, when a user is registered, his default role is authenticated,, and he sends request to the admin to change his role to registered, then only he can access our files.. after 30 days his role should rolled back to authenticated.. plz tell me how can i do that.. i need to keep track the date when his role changed to registered ....

mjetpax’s picture

I am experiencing something very similar. User starts with a Free member role. Then is able to purchase a Paid role with extended permissions. Everything seems to work fine, until the user's Paid role expires, at which point they all roles are removed even though the module is set to apply the Free role on expiry. Ugh!

BTW I am using ver 5.x-3.6