sassoftware / sassoftware/pyviyatools
applyviyarules.py stops when a rule already exists - part 2
Open
@tomstarr is already working on this.
Since Mar 16, 2026.
enhancement
- Dominant language
- Python
- Stars
- 50
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
This is an extension to the workaround developed in #174.
It's been discover that an additional 'crash scenario' exists:
When a rule already exists for a principle which has an ObjectURI ending in a
/*, trying to apply a new rule for the same principle, with the exact same permissions set and with the same ObjectURI but ending in a/**(rather than a/*) the Viya CLI will crash/end abruptly.
The above scenario should be factored into the workaround already in-situ in applyviyarules.py
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.