code: def config_set_acl(args):
      
      acl_updates = [{"user": user, "role": args.role} \
                     for user in set(expand_fc_groups(args.users)) \
                     if user != fapi.whoami()]
  
      id = args.snapshot_id
      if not id:
          # get the latest snapshot_id for this method from the methods repo
          r = fapi.list_repository_configs(namespace=args.namespace,
                                           name=args.config)
          fapi._check_response_code(r, 200)
          versions = r.json()
          if len(versions) == 0:
              if fcconfig.verbosity:
                  eprint("Configuration {0}/{1} not found".format(args.namespace,
                                                                  args.config))
              return 1
          latest = sorted(versions, key=lambda c: c['snapshotId'])[-1]
          id = latest['snapshotId']
  
      r = fapi.update_repository_config_acl(args.namespace, args.config, id,
                                            acl_updates)
      fapi._check_response_code(r, 200)
      if fcconfig.verbosity:
          print("Updated ACL for {0}/{1}:{2}".format(args.namespace, args.config,
                                                     id))
      return 0
docs: Assign an ACL role to a list of users for a config.