Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hello,
I am having a requirement as below :
Existing Rule - WTPart, ALL, TestUser, (Grant) Read/Download
New Rule - WTPart, ALL, TestUser, (Grant) Read/Download/Revise
A rule already exists with Read & Download granted to TestUser for WTPart in ALL state.
I am trying to override this rule by adding additional grant permission for Revise (using LoadFromFile)
But its giving an error as "Rule already exists".
*****TestACL.xml*****
<?xml version="1.0"?>
<!DOCTYPE NmLoader SYSTEM "standardX26.dtd">
<NmLoader>
<csvAccessRule handler="wt.load.LoadUser.createAccessRule">
<csvuser/>
<csvdomain>/Default/PDM</csvdomain>
<csvtypeId>WCTYPE|wt.part.WTPart</csvtypeId>
<csvpermission>+</csvpermission>
<csvprincipal>TestUser</csvprincipal>
<csvpermissionList>0/7/10/</csvpermissionList>
<csvstate>ALL</csvstate>
<csvallExceptPrincipal/>
</csvAccessRule>
</NmLoader>
*****Command*****
D:\ptc\Windchill_11.0\Windchill>windchill wt.load.LoadFromFile -d "D:\TestACL.xml" -u wcadmin -p wcadmin -CONT_PATH \"/wt.inf.container.OrgContainer=ITCINFOTECH\"
Is there any way I can override the existing ACL rule using xml ??
Can I load new set of grant permission overriding the existing set of grants??
Could you please help me to resolve this issue?
Thanks!!