BookmarkSubscribeRSS Feed
0 Likes

https://communities.sas.com/t5/Administration-and-Deployment/Rules-and-authorizations-in-SAS-Viya/m-...

 

It would be great if the CLI to Viya will include a prompt or parameter to log in as SAS Administrator, or not, in the profile, same as we have already in the GUI.

 

At this moment, the sas-admin authorization plug-in, does not take in account you are SAS Administrator and, hence, returning an empty list of rules (which is even less that if you log in as normal user and query the /authorization/rules RestAPI URI).

3 Comments
alexal
SAS Employee

@JuanS_OCS,

At this moment, the sas-admin authorization plug-in, does not take in account you are SAS Administrator and, hence, returning an empty list of rules

Thanks for your idea, but unfortunately I cannot reproduce that problem. Have you tried to recreate your profile?

JuanS_OCS
Amethyst | Level 16

Tried, without success.

alexal
SAS Employee

@JuanS_OCS,

 

I would like to review an output from a command shown below:

 

/opt/sas/viya/home/bin/sas-admin --verbose authorization list-rules