Skip to content

Administration

The Fru.io platform is designed to work with organizations. As an administrator, you can administer the users that have the ability to manage deployments for an organization. Administration is managed through the Fru.io admin set of commands.

Listing users

Listing users for the organization you are authenticated against is accomplised with Fru.io admin list.

$  fru admin list
ADMINS
 NAME                TYPE
 [email protected]  Admin
 [email protected]     Admin

DEVELOPERS
 NAME             TYPE
 [email protected]  Developer

Adding users

You can add an administrator or a developer to an organization. An administrator has the ability to add and remove other administrators in addition to managing deployments. A developer can use all functionality provided by the Fru.io client other than adding and removing administrators. The users email address should be the same as their GitHub email address.

Add a developer with fru admin add developer.

$ Fru admin add developer [email protected]
Added developer [email protected] to organization Fru-demo

Add a developer with fru admin add administrator.

$ Fru admin add admin [email protected]
Added user [email protected] to organization Fru-demo

Deleting users

Delete a developer with fru admin delete developer.

$ Fru admin delete developer [email protected]
Are you sure you want to delete developer Fru-demo/[email protected]? (Y/n) y
Deleted developer [email protected] from organization Fru-demo

Delete a developer with Fru admin delete administrator.

$ fru admin delete admin [email protected]
Are you sure you want to delete admin Fru-demo/[email protected]? (Y/n) y
Deleted admin [email protected] from organization Fru-demo

Last update: 2021-09-22