Yes, we solved this by running the following code:
You have to work closely with the admin of SAS Viya to create user groups and assign users to them.
The tables whose content we want to lock for unauthorized access we use at row-level the same UserId than it appears in the sas viya administration.
proc cas;
accessControl.updSomeAcsTable /
acs={
{caslib="onair" table="TY_9_SOLICITUDES_V16.sashdat" identity="RedComercial"
identitytype="Group"
permtype="Grant"
permission="Select"
filter="strip(upcase(dkx))=('SUB::SAS.Userid')"},
{caslib="onair" table="TY_9_SOLICITUDES_V16.sashdat" identity="DirComercial"
identitytype="Group"
permtype="Grant"
permission="Select"
filter="1=1"}
}
;
quit;