Boemska / Boemska/macrocore

Info on creating groups and groups associations

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
SAS
Stars
61
Forks
24
PR merge metrics
No merged PRs in 30d

Description

Hi all,
searching for some helpfoul macros, I noticed that in this collection there are macros to create stp, folders, libraries, ... but there are no macros to create groups or users, or ACT, and macros to associate groups to groups (while there is user to groups) or populate ACTs. Is there any reasons for that, or it's just because noone write those macros? I'm wondering if such a code could make any damage to metadata or something like it...
I.E. I would use something like this to create groups:
```
data USERS_TO_ADD;
length _RC 8 GROUP_NAME $100 GROUP_URI $100;
GROUP_NAME='TEST2';
_RC=metadata_newobj('IdentityGroup', GROUP_URI, GROUP_NAME);
_RC=metadata_setattr(GROUP_URI, "UsageVersion", "1000000");
_RC=metadata_setattr(GROUP_URI, "PublicType", "UserGroup");
run;
```

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing metadata macros referenced in the issue and the sample metadata_newobj code. Identify the supported group, user, ACT, and association operations, then clarify the expected scope and safety requirements before deciding what implementation and tests would constitute completion.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.