Skip to content

Commit

Permalink
fix: adding nrstr() wrapper in mm_adduser2group
Browse files Browse the repository at this point in the history
  • Loading branch information
munja committed Jan 25, 2023
1 parent 22d046c commit 8843fa8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions all.sas
Original file line number Diff line number Diff line change
Expand Up @@ -14061,7 +14061,8 @@ run;
filename __us2grp temp;

proc metadata in= "<UpdateMetadata><Reposid>$METAREPOSITORY</Reposid><Metadata>
<Person Id='&uuri'><IdentityGroups><IdentityGroup ObjRef='&guri' />
<Person Id='%nrstr(&uuri)'>
<IdentityGroups><IdentityGroup ObjRef='%nrstr(&guri)' />
</IdentityGroups></Person></Metadata>
<NS>SAS</NS><Flags>268435456</Flags></UpdateMetadata>"
out=__us2grp verbose;
Expand All @@ -14078,7 +14079,8 @@ run;

filename __us2grp clear;

%mend mm_adduser2group;/**
%mend mm_adduser2group;
/**
@file
@brief Assigns library directly using details from metadata
@details Queries metadata to get the libname definition then allocates the
Expand Down
5 changes: 3 additions & 2 deletions meta/mm_adduser2group.sas
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ run;
filename __us2grp temp;

proc metadata in= "<UpdateMetadata><Reposid>$METAREPOSITORY</Reposid><Metadata>
<Person Id='&uuri'><IdentityGroups><IdentityGroup ObjRef='&guri' />
<Person Id='%nrstr(&uuri)'>
<IdentityGroups><IdentityGroup ObjRef='%nrstr(&guri)' />
</IdentityGroups></Person></Metadata>
<NS>SAS</NS><Flags>268435456</Flags></UpdateMetadata>"
out=__us2grp verbose;
Expand All @@ -98,4 +99,4 @@ run;

filename __us2grp clear;

%mend mm_adduser2group;
%mend mm_adduser2group;

0 comments on commit 8843fa8

Please sign in to comment.