How to set a user as an admin user

You can use Magda acs-cmd command line utility to set your account as an Admin. Alternatively, if you already have a user with admin access, you can login and go to the “Admin / User Accounts” section to set / unset a user as an admin.

Installation

Please refer to acs-cmd utility NPM page for installation instructions.

Usage

Before start to use the acs-cmd utility, you need to:

Prior to Magda v1.0.0, you should port-forward pod combined-db-0

To set a user as admin users:

acs-cmd admin set [userId]

Or remove admin status / role from the user:

acs-cmd admin unset [userId]

To find out the user id of your account, you can:

acs-cmd list users