Export role permissions to XML file

Nov 14, 2012 at 2:48 PM

I create a new role "MyModerator" and grant the permissions for this role. Then I create a new user with role "MyModerator". After that I export User to XML file, I need it for creating a recipe file, which will help me to deploy me site. When I deploy it the role "MyModerator" and user with this role is created, but all permissions isn't granted to this role. That means exporting doesn't export role permissions. That's very bad. May I to do that or this is a bug?