private static string ReadRole(XmlNode node)
    {
        if (node.Name == "Role")
        {
            string code = NodeGetString(node, "nombrecorto");
            string name = NodeGetString(node, "nombrelargo");
            bool create = NodeGetBool(node, "create");
            bool modify = NodeGetBool(node, "modify");
            bool delete = NodeGetBool(node, "delete");
            bool publish = NodeGetBool(node, "publish");
            bool read = NodeGetBool(node, "read");

            System.Console.WriteLine ("Roles: "+ code);
            Role r = new Role (name, code, create, modify, delete, publish, read);
            r.Save();

            roles[code] = r;
        }
        return null;
    }
    public void RoleNew(string name)
    {
        Role role = new Role();
        role.Name = name;
        role.Save();

        Group[] groups = Group.FindAll();
        foreach (Group g in groups)
        {
            Acl acl = new Acl();
            acl.Group = g;
            acl.Role = role;
            acl.Containers = new Iesi.Collections.HashedSet(); // ArrayList();
            acl.Save();
        }

        RedirectToAction("rolesedit");
    }