Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Anonymous Ticket Portal Anonymous Ticket Portal
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • TPA
  • Anonymous Ticket PortalAnonymous Ticket Portal
  • Merge requests
  • !43

Create Initial Moderator Group Programmatically

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged MariaV requested to merge programmatic_group into master Jan 13, 2021
  • Overview 0
  • Commits 3
  • Changes 5

wrote a file (create_groups.py) which allows for the programmatic creation of a group, "Moderators", and assigns the relevant view permissions to User Identifier, Git Lab Group, and Project, as well as Add/Delete/Change/View permissions to Issue and Note.

Created the structure necessary to run from the command line with a manage.py commmand: python manage.py create_groups.

Added relevant documentation to readme file in the setup section.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: programmatic_group