@fiss_cmd<EOL>def space_set_acl(args):
acl_updates = [{"<STR_LIT:email>": user,<EOL>"<STR_LIT>": args.role} for user in args.users]<EOL>r = fapi.update_workspace_acl(args.project, args.workspace, acl_updates)<EOL>fapi._check_response_code(r, <NUM_LIT:200>)<EOL>errors = r.json()['<STR_LIT>']<EOL>if len(errors):<EOL><INDENT>eprint("<STR_LIT>")<EOL>for user in errors:<EOL><INDENT>eprint("<STR_LIT>".format(user['<STR_LIT:email>']))<EOL><DEDENT>return <NUM_LIT:1><EOL><DEDENT>if fcconfig.verbosity:<EOL><INDENT>print("<STR_LIT>".format(len(acl_updates)))<EOL><DEDENT>return <NUM_LIT:0><EOL>
Assign an ACL role to list of users for a workspace