This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
User commands
Miroslav Spousta edited this page Feb 1, 2019
·
6 revisions
Will create a new user in the organization. No associated queue (? might associate with the only queue in organization.)
elisctl user create USERNAME PASSWORD
123
ADVANCED:
-
--queue-id, -q
: queue IDs to associate the user with (multiple ids allowed) -
--all-queues
: assign to all queues -
--group, -g
: permission group (one ofadmin
,annotator
(default) ,viewer
, multiple groups allowed) -
--locale, -l
: localization of Verification interface (one ofen
(default),cs
) -
--organization-id, -o
: select an organization (useful only for superadmin
Shows table of users in organization. Does not show inactive (deleted) users.
elisctl user list
| id | username | groups | queues
|----|-------------------|-----------|-------
| 1 | some@example.com | annotator | 1, 2
| 2 | other@example.com | admin |
ADVANCED:
-
--all
: shows also users that were deleted usingdelete
command -
--group-by
: e.g.workspace
,queue
-
filter
: e.g.--workspace-id
,--queue-id
,--group
Disables user from Elis access (toggles flag is_active
to false
, but user is preserved in DB).
elisctl user delete ID --yes
ADVANCED
elisctl user change ID
-
--queue-id, -q
: queue IDs to associate the user with (multiple ids allowed). Original queues not preserved. -
--group, -g
: permission group (one ofadmin
,annotator
,viewer
, multiple groups allowed). Original groups not preserved. -
--locale, -l
: localization of Verification interface (one ofen
(default),cs
) --username, -u
-
--password, -p
(we should check if this actually works over API)
elisctl user reset-password ID
It's not possible over API at the moment. Must be implemented.