• Get Review Board
  • What's New
  • Products
  • Review Board Code review, image review, and document review
  • Documentation
  • Release Notes
  • Power Pack Enterprise integrations, reports, and enhanced document review
  • Try for 60 Days
  • Purchase
  • RBCommons Review Board as a Service, hosted by us
  • Pricing
  • RBTools Command line tools and Python API for Review Board
  • Documentation
  • Release Notes
  • Review Bot Automated code review, connecting tools you already use
  • Documentation
  • Release Notes
  • RB Gateway Manage Git and Mercurial repositories in your network
  • Documentation
  • Release Notes
  • Learn and Explore
  • What is Code Review?
  • Documentation
  • Frequently Asked Questions
  • Support Options
  • Third-Party Integrations
  • Demo
  • Review Board RBTools Power Pack Review Bot Djblets RB Gateway
    1. Power Pack
    2. Features
    3. Server Management
    4. Automating with Management Commands
  • Home
  • Installation
  • Licenses
  • Managing Licensed Users
  • Features
  • PDF Document Review
  • Reports
  • Repositories
  • AWS CodeCommit Support
  • Bitbucket Server Support
  • Cliosoft SOS Support
  • GitHub Enterprise Support
  • Azure DevOps / Team Foundation Server Support
  • VersionVault and ClearCase Repositories
  • Visual Studio Team Services Support
  • Server Management
  • Database Import and Export
  • Distributed SSH Keys
  • Automating with Management Commands
  • General Index
  • Release Notes
  • Automating with Management Commands¶

    If you’re automating installs of Review Board and Power Pack, you may still need to set up a license file and configure licensed users and settings. In Power Pack 1.4+, you can automate this with our new command-line management commands.

    config-powerpack-license¶

    The config-powerpack-license command is used to associate an existing license file with Power Pack and control auto-adding of users to the license.

    Installing a license¶

    If Power Pack is unlicensed, or you need to replace the license, you can use the --license argument:

    rb-site manage /path/to/site config-powerpack-license -- \
        --license=powerpack.lic
    

    Configuring auto-adding of users¶

    You can enable Automatic User Licensing on the command line using the --auto-add-mode and --auto-add-groups options.

    To disable auto-adding, run:

    rb-site manage /path/to/site config-powerpack-license -- \
        --auto-add-mode=disabled
    

    To enable auto-adding of all new users who register on Review Board:

    rb-site manage /path/to/site config-powerpack-license -- \
        --auto-add-mode=all-new
    

    To enable auto-adding of all users who join one or more particular groups:

    rb-site manage /path/to/site config-powerpack-license -- \
        --auto-add-mode=groups --auto-add-groups=group1,group2,group3
    

    You can also replace the list of groups at any time:

    rb-site manage /path/to/site config-powerpack-license -- \
        --auto-add-mode=groups --auto-add-groups=new-group1,new-group2
    

    license-powerpack-users¶

    The license-powerpack-users command takes one or more usernames and adds them to the current license, if one is set and if Power Pack is enabled. For example:

    rb-site manage /path/to/site license-powerpack-users joe bob anne
    

    This will display the number of users added to the license, and show errors for any users who could not be added (due to already being present or if the license cap has been hit).

    unlicense-powerpack-users¶

    The unlicense-powerpack-users command is used to unlicense users who have been previously licensed. It works just like license-powerpack-users:

    rb-site manage /path/to/site unlicense-powerpack-users bob carla
    

    Keep up with the latest Review Board releases, security updates, and helpful information.

    About
    News
    Demo
    RBCommons Hosting
    Integrations
    Happy Users
    Support Options
    Documentation
    FAQ
    User Manual
    RBTools
    Administration Guide
    Power Pack
    Release Notes
    Downloads
    Review Board
    RBTools
    Djblets
    Power Pack
    Package Store
    PGP Signatures
    Contributing
    Bug Tracker
    Submit Patches
    Development Setup
    Wiki
    Follow Us
    Mailing Lists
    Reddit
    Twitter
    Mastodon
    Facebook
    YouTube

    Copyright © 2006-2025 Beanbag, Inc. All rights reserved.

    Terms of Service — Privacy Policy — AI Ethics Policy — Branding

    On this page

    • [Top]
    • config-powerpack-license
      • Installing a license
      • Configuring auto-adding of users
    • license-powerpack-users
    • unlicense-powerpack-users