mergin/cli.py
def share_add(ctx, project, usernames, permissions):
    """Add permissions to [users] to project."""
    mc = ctx.obj["client"]
    if mc is None:
        return
    usernames = list(usernames)
    mc.add_user_permissions_to_project(project, usernames, permissions)
Add permissions to [users] to project.
Add permissions to [users] to project.
Add permissions to [ users ] to project .
def share_add(ctx, project, usernames, permissions):
    mc = ctx.obj["client"]
    if mc is None:
        return
    usernames = list(usernames)
    mc.add_user_permissions_to_project(project, usernames, permissions)
def share_add ( ctx , project , usernames , permissions ) : mc = ctx . obj [ "client" ] if mc is None : return usernames = list ( usernames ) mc . add_user_permissions_to_project ( project , usernames , permissions )
Add permissions to [users] to project.
Add permissions to [ users ] to project .
"""Add permissions to [users] to project."""
ctx
project
usernames
permissions