mirror of
https://github.com/sasjs/core.git
synced 2026-01-10 02:40:05 +00:00
feat: enabling group macros on sasjs/server
This PR updates ms_getgroups with a user filter, and ms_getusers with a group filter. ms_adduser2group was also created to faciliate the necessary test(s).
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
data _null_;
|
||||
set work.test1;
|
||||
call symputx('id',id);
|
||||
putlog (_all_)(=);
|
||||
run;
|
||||
%mp_assert(
|
||||
iftrue=(&id>0),
|
||||
@@ -35,7 +36,8 @@ run;
|
||||
%let checkid=0;
|
||||
data _null_;
|
||||
set work.test2;
|
||||
where username="&user";
|
||||
if _n_<20 then putlog (_all_)(=);
|
||||
if username="&user";
|
||||
call symputx('checkid',id);
|
||||
run;
|
||||
%mp_assert(
|
||||
|
||||
Reference in New Issue
Block a user