All, I'm having limited success getting ACLs to load with the LoadFromFile utility, and I'm hoping you can help me out. The problem I'm having is when I try to use the "Context Team Role: Team Members" role, the loader errors out telling me that 'Principal "teamMembers" not found.'. I want to load these rules at the ORG level (/Default/PDM). Any ideas what I'm doing wrong?
Here is what I'm trying to use. The XML file:
<nmloader> <csvaccessrule handler="wt.load.LoadUser.createAccessRule"> <csvuser></csvuser> <csvdomain>/Default/PDM</csvdomain> <csvtypeid>wt.part.WTPart</csvtypeid> <csvpermission>+</csvpermission> <csvprincipal>teamMembers</csvprincipal> ------------ I have tried this as "Team Members", "teamMembers" and other context team roles. <csvpermissionlist>0/10</csvpermissionlist> <csvstate>RELEASED</csvstate> </csvaccessrule> </nmloader>
The Loader Command: windchill wt.load.LoadFromFile -d d:\Temp\Access.xml -CONT_PATH \"/wt.inf.container.OrgContainer=FN Manufacturing\"
I didn't try this yet but just curious is the methodserver log giving you and add'l details and can you create this rule in the UI at that step. Not having a system in front me, I'm wondering are you trying to set this for a container team or the team of an individual object.