CCI-MOC / hil

Hardware Isolation Layer, formerly Hardware as a Service
Apache License 2.0
24 stars 54 forks source link

User related calls required. #994

Open SahilTikale opened 6 years ago

SahilTikale commented 6 years ago

Following calls are needed in CLI. User privilege should be administrator for these calls.

List all users of HIL,

hil user list

For a given show whether it is admin or regular and to what projects it is assigned.

hil user show <username>
xuhang57 commented 6 years ago

maybe hil-admin user list hil-admin user show <username>

SahilTikale commented 6 years ago

is hil-admin available remotely or does the administrator has to be logged into the same machine which runs the HIL server ? Does it use the client library in the background ?

zenhack commented 6 years ago

hil-admin is local-only; it doesn't use the API; the hil command line tool is the right spot for API wrappers.

zenhack commented 6 years ago

The user show call would first have to be added to the API. user list already exists, and we should add a wrapper to the CLI.