Delete ACL applies to all except participant by delete acl utility.java
- January 7, 2025
- 2 replies
- 2444 views
Version: Windchill 12.0
Use Case: Delete the ACL in domain by using Utility by running windchill command in shell
Description:
Hi,
we had a utility for deleting ACL, we are using this for deleting ACL from backend in various domains.
that utility is deleting Group assigned ACL and Role assigned ACL, but it is not deleting ACL which is group assigned ACL applies to "All except participant" principal.
when we tried to run ACL delete utility, it is returning error for above applies to "All except participant". error message is "Resource bundle/Message key = wt.access.accessResource/38".
I need a suggestion on this to how to solve this and how can i change or implement the logic to delete the ACL which is applies to "all except participant" and have absolute deny permission sets by this utility.
Used API is:
AccessControlHelper.manager.deleteAccessControlRule(localAdminDomainRef, objType, localState,
localWTPrincipalReference, false);
getting logs from my delete utility where it fails:
| deleteACL |
| ALL Parrameters :wt.fc.WTObject |
| sLCState: ALL |
| localState :null |
| localWTContainerRef :Common_Startmodels |
| localAdminDomainRef :Hairpins |
| Get Internal Role or Group Name |
| groupForName = EPT Startmodels Hairpins SF Pool Grp |
| localWTPrincipalReference :EPT Startmodels Hairpins SF Pool Grp |
| ERROR: Couldn't find rule! Message: Resource bundle/Message key = wt.access.accessResource/38 |

