Verified Commit 29baff0b authored by Peter Stanko's avatar Peter Stanko
Browse files

renamed user -> client in role management

parent 5a55db09
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -67,11 +67,11 @@ def cli_roles_create(obj, remote, course, **kwargs):
# Role users
#

cli_role_users = click.Group('users', help='Users management for the role')
cli_role_users = click.Group('clients', help='Clients management for the role')
cli_roles.add_command(cli_role_users)


@cli_role_users.command('list', help='List users for the role')
@cli_role_users.command('list', help='List clients for the role')
@click.option('-r', '--remote', required=False, help='Sets remote')
@click.option('-c', '--course', required=False, help='Select course')
@click.argument('codename')
@@ -82,7 +82,7 @@ def cli_role_users_list(obj: AppConfig, remote, course, codename: str):
    helpers.generic_list_users(course.roles, codename, name='clients')


@cli_role_users.command('add', help='Add user for the role')
@cli_role_users.command('add', help='Add client to the role')
@click.option('-r', '--remote', required=False, help='Sets remote')
@click.option('-c', '--course', required=False, help='Select course')
@click.argument('codename')