Hi All,
one of the admin user has created row level condtions on multiple conditions but all of suddenly all the row level condtions been deleted . How to check why conditions has been deleted.
thanks in advance
In my experience it's recommendable to set the row-level security code-wise by saving the table to a sashdat file and running an adapted version of the following code.
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;
thank you for the reply.
in my case i have assigned row-level filters for customgroups on multiple tbales by using my user admin previleges, but one day all of sudden all my row-level filters has been cleared on all tables. I would like to know why thsi has happend.. please help in this regard.
thanks
Did you set the permissions on the in-memory table or the source file within the caslib? The best practice is to set table-level controls on persisted data (data that has been saved as a source file within a caslib), not on in-memory data. This topic discusses persistence of CAS access controls.
https://go.documentation.sas.com/doc/en/sasadmincdc/v_060/calauthzcas/n1bf0cwn6ae85gn1b64x2j0czu24.h...
-------------------------------------------------------------------------
Four tips to remember when you contact SAS Technical Support
Tricks for SAS Visual Analytics Report Builders
SAS Visual Analytics Learning Center
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.