Rename add_users_to_scope to reflect enroll + auto-assign role

Open Beginner friendly
#12,846 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
backend

Research direction

Search the Python repository for the add_users_to_scope entry point and every call site, then read the surrounding implementation to confirm its enrollment and auto-assign role behavior. Update the name consistently and run pants test for the affected packages; done means all references use the new name and the tests pass.

Written by the indexing model from the issue text.

Description

add_users_to_scope actually enrolls users into a scope and grants auto-assign roles; rename it to reflect that and update all call sites. Low-priority cleanup noted in BEP-1062 (#12842) section 2.3/2.7.

Success Criteria

  • add_users_to_scope renamed to reflect what it does (enroll + auto-assign role); all call sites updated
  • pants test passes for affected packages

JIRA Issue: BA-6879

Dominant language
Python
Stars
670
Forks
183
Avg merge
20h 35m
Merged PRs (30d)
429

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.

More from lablup/backend.ai

All issues in lablup/backend.ai

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.