copied from http://drupal.org/node/149913
Description
I find that when using the EC Role module of E-Commerce, the menu items belonging to the new role do not appear when role access is purchased.
I can confirm that the EC Role module is adding the roles as intended, and that direct access to modes restricted to the added role will work.
If the user is manually edited, can verify the EC-purchased role has been added.
If click submit in the User:edit screen, then the menus appear.
Updates
#1 submitted by fago on June 7, 2007 - 08:25
Status: active » by design
The module does RESTRICT access per role, but it doesn't grant access to items for roles, who had not access before.
#2 submitted by bjzimmeron on June 7, 2007 - 08:34
Perhaps I was not clear.
The EC Role module of "ECommerce" grants the roles. It is confirmed to be working.
When the EC Role updates a user's role status to add a new role, the menu per role module does not show the newly accessible menus.
As I mentioned, you can edit the user and see that the role is there, but the menus do not show. If I force it to update by clicking submit on the edit user page, then the menus show up.
Perhaps a database is not being updated properly?
#3 submitted by fago on June 9, 2007 - 09:07
ah, yeah. The EC-Role module needs to clear the menu cache if it changes the users roles!
Comments
Comment #1
christefano commentedThis issue is a duplicate of #180205.