subsystem export does not cover user roles [message #5297] |
Sat, 16 January 2016 06:38 |
kong
Messages: 90 Registered: December 2011
|
Member |
|
|
When exporting a menu subsystem the resulting "...menu_export.sql" file does not cover user roles used by the subsystem.
This is cumbersome especially for roles that are exclusive to such subsystem and need to be added manually when restoring subsystem to a new radicore db.
Not sure whether this is an oversight or perhaps purposely designed this way...
|
|
|
Re: subsystem export does not cover user roles [message #5299 is a reply to message #5297] |
Sun, 17 January 2016 04:36 |
AJM
Messages: 2371 Registered: April 2006 Location: Surrey, UK
|
Senior Member |
|
|
The MNU_ROLE table does not belong to a particular subsystem, so it is only exported when the MENU subsystem itself is exported. The same is true for the MNU_LANGUAGE, MNU_PATTERN, MNU_TIME_LIMIT_ROLE, MNU_CONTROL, MNU_ACCOUNT, MNU_MOTD, MNU_USER, MNU_USER_ROLE, MNU_TODO, MNU_USER_IP_ADDRESS, MNU_FAVOURITE and MNU_TIME_LIMIT_USER tables.
If I included the MNU_ROLE table in the subsystem export it may include roles that have no contact with that subsystem. Is this what you want?
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
|
|
|
|
|
|