You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you can, could you develop a couple of enhancements for applyfolderauthorization.py and createfolders.py please? It seems that the presence of trailing slashes, spaces and/or hidden chars on the end of folder paths all cause issues when creating folders or applying permissions using the Viya CLI. These enhancements would mitigate those 'gotchas' by regulating the quality of the input data.
Enhancements:
createfolders.py
Scan folder paths being fed in and strip off any surplus spaces and hidden characters between the final char of each folder path and the comma separator.
applyfolderauthorization.py
Scan folder paths being fed in and strip off any surplus spaces and hidden characters between the final char of each folder path and the comma separator.
Scan folder paths being fed in and strip off any trailing slashes (the same enhancement that was previously implemented in createfolders.py fails to create folders with a trailing slash #179 to createfolders.py)
Hi Gerry,
When you can, could you develop a couple of enhancements for applyfolderauthorization.py and createfolders.py please? It seems that the presence of trailing slashes, spaces and/or hidden chars on the end of folder paths all cause issues when creating folders or applying permissions using the Viya CLI. These enhancements would mitigate those 'gotchas' by regulating the quality of the input data.
Enhancements:
createfolders.py
Scan folder paths being fed in and strip off any surplus spaces and hidden characters between the final char of each folder path and the comma separator.
applyfolderauthorization.py
Scan folder paths being fed in and strip off any surplus spaces and hidden characters between the final char of each folder path and the comma separator.
Scan folder paths being fed in and strip off any trailing slashes (the same enhancement that was previously implemented in createfolders.py fails to create folders with a trailing slash #179 to createfolders.py)
Many thanks.