RexOps / RexOps/Rex

account() can't append a user to an additional group.

Open
#552 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

ready
Dominant language
Perl
Stars
737
Forks
214
PR merge metrics
No merged PRs in 30d

Description

If someone want to add a user to a specific group he has also to configure all the other groups the user should belong to for the account() command.

It would be nice to have an option that just appends the user to a new group.

current workaround is:

account "the-user",
  groups => [ user_groups("the-user"), "the-new-group" ];

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Perl implementation and documentation for the account() command, then inspect how the groups option and user_groups("the-user") workaround are handled. Done means account() can append a user to one additional group without requiring all existing groups to be configured, while preserving the current behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.