Closed (fixed)
Project:
Profile Generator
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2008 at 05:12 UTC
Updated:
11 Jun 2010 at 01:41 UTC
Profile Generator not saving user access permissions.
Comments
Comment #1
ench0 commentedProfile Generator needs to save user roles and access permissions.
Comment #2
Jan van Diepen commentedProfile Generator is saving roles and user access permissions in the generated profile file. That's not a problem. During installation the saved roles and permissions are not correctly installed into the database. Reason is the order of operations. The function call "db_next_id('{role}_rid');" returns the wrong IDs because the authenticated user and anonymous user roles are not created yet. Having the above function call replaced by "$rid = db_next_id('{role}_rid') + 2;" or having the above roles created first should solve the problem. The permissions for your 3rd and 4th user roles are also stored, but for the 1st and 2nd user roles respectively.
Comment #3
Shiny commentedThis sounds solved -- please re-open if there are still issues.