acl

Access Control List management

Usage

neuro acl [OPTIONS] COMMAND [ARGS]...

Access Control List management.

Commands:

add-role

Add new role

Usage

neuro acl add-role [OPTIONS] ROLE_NAME

Add new role.

Examples

$ neuro acl add-role mycompany/subdivision

Options

grant

Shares resource with another user

Usage

neuro acl grant [OPTIONS] URI USER {read|write|manage}

Shares resource with another user.

URI shared resource.

USER username to share resource with.

PERMISSION sharing access right: read, write, or manage.

Examples

$ neuro acl grant storage:///sample_data/ alice manage
$ neuro acl grant image:resnet50 bob read
$ neuro acl grant job:///my_job_id alice write

Options

list-roles

List roles

Usage

neuro acl list-roles [OPTIONS]

List roles.

Examples

$ neuro acl list-roles
$ neuro acl list-roles username/projects

Options

ls

List shared resources

Usage

neuro acl ls [OPTIONS] [URI]

List shared resources.

The command displays a list of resources shared BY current user (default).

To display a list of resources shared WITH current user apply --shared option.

Examples

$ neuro acl list
$ neuro acl list storage://
$ neuro acl list --shared
$ neuro acl list --shared image://

Options

remove-role

Remove existing role

Usage

neuro acl remove-role [OPTIONS] ROLE_NAME

Remove existing role.

Examples

$ neuro acl remove-role mycompany/subdivision

Options

revoke

Revoke user access from another user

Usage

neuro acl revoke [OPTIONS] URI USER

Revoke user access from another user.

URI previously shared resource to revoke.

USER to revoke URI resource from.

Examples

$ neuro acl revoke storage:///sample_data/ alice
$ neuro acl revoke image:resnet50 bob
$ neuro acl revoke job:///my_job_id alice

Options

Last updated