Re: Support Reference -- Import Script
Marcel van der Boom <[email protected]>
| Newsgroups | gmane.comp.cms.xaraya.knowledge-base |
|---|---|
| Organization | HS-Development BV |
| Message-ID | <[email protected]> |
I tried once with the logging option on. There is an exception (on my side) when creating categories: no privilege for AddCategories. I haven't investigated further, maybe this helps you further? marcel mikespub wrote: > In article <b88ba7$92u$1-FogMEOs31dotat4ziPANHlKoq+OfwspIAL8bYrjMMd8@public.gmane.org>, "J. Cox" > <[email protected]> wrote: >>... >>The problem was there was no matching admin names and its killing the >>perms >>on the article import. Even when he created the same name on Xaraya that >>he >>used on PN, it was killing the perms. I didn't dig into the code to far >>to investigate it quite yet;) >> > > Weird - I'm really not doing anything magical with the import of users : > > 1. ignore the users with special meanings in PostNuke, i.e. the Anonymous > and the (initial) admin account (uid <= 2) > 2. don't delete any roles with special meanings in Xaraya, i.e. the > minimum > default roles and the initial admin account (uid <= 5) > 3. import everything else into roles, keep track of the before->after > mapping > of uids, and assign them all to the default Users role (for now) > > So unless one of the PN users (above uid 2) happens to have the same > user name as one of the default roles, there should be no overlap. And if > there is an overlap, that should be blocked by the roles adminapi create > function, and that user should simply not be created. > > There should be no impact at all on the initial admin account of xaraya, > or on whatever privileges that are assigned to it... > > What *can* mess things up is when you play with privileges, hooks or > user properties before doing the import, though. Don't do that :-) > > Mike. -- Marcel van der Boom, HS-Development BV Kwartiersedijk 14B, 4893 RE Fijnaart, The Netherlands T: +31-168-468822, F: +31-168-468823