sassoftware / sassoftware/pyviyatools

applyviyarules.py stops when a rule already exists - part 2

Open
#255 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.