sassoftware / pyviyatools

Python command-line tools that call the SAS Viya REST APIs - for SAS administrators.
Apache License 2.0
38 stars 31 forks source link

Permissions order in listrules.py #178

Closed tomstarr closed 1 year ago

tomstarr commented 1 year ago

Hi Gerry,

This week I've been working through issue #174 and have found that it's really helpful if listrules.py outputs permission in, CSV format, in the same order as sas-viya authorisation does.

If this order is not depended on by anything else, please could you update the following line from: valid_permissions=['read','update','delete','secure','add','remove','create']

to: valid_permissions=['remove','read','update','create','delete','add','secure']

Thanks!

tomstarr commented 1 year ago

Found the issue was actually with the way that my script compiled the permissions when it performs an extract. Closing this issue as not required.