I am currently trying to add a delete access to all our products. All access control rules are currently defined at product/project level.
I therefore tried to use my old loadfile method of loading an access into an existing access rule.
I have this loader file: <?xml version="1.0"?> <!DOCTYPE NmLoader SYSTEM "standardX20.dtd"> <NmLoader> <csvAccessRule handler="wt.load.LoadUser.createAccessRule"> <csvuser/> <csvdomain>/Default</csvdomain> <csvtypeId>wt.doc.WTDocument</csvtypeId> <csvpermission>+</csvpermission> <csvprincipal>AUTHOR</csvprincipal> <csvpermissionList>5</csvpermissionList> <csvstate>DRAFT</csvstate> </csvAccessRule> </NmLoader>
I run it this way: windchill wt.load.LoadFromFile -d "D:\Policyloader\Policyloaderinput\AUTHOR.xml" -CONT_PATH \"wt.inf.container.OrgContainer=NN/wt.pdmlink.PDMLinkProduct=De9\"
Much to my surprise, it gave me an error and was not loaded.
I then tried to add all access for the given rule. Same result.
If I deleted the rule, the loader worked.
I now need to add it at org level and all the rest is specified at product level. For transparency reason, I would like to have all the access rules defined at the same level.
My ideas is therefore: Let the loader modify an existing access rule. As a minimum, let it add a new access to an existing rule.
I would like to be able to delete rules by loader, but this is not possible either.
We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.
You can always post a new idea with all the details required in the form.
Thank you for your participation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.