acl_add_user {connectapi}R Documentation

ACL Add Users or Groups

Description

Add a user or group to the content as an "owner" (collaborator) or "viewer"

Usage

acl_add_user(content, user_guid, role)

acl_add_group(content, group_guid, role)

acl_add_collaborator(content, user_guid)

acl_add_viewer(content, user_guid)

acl_remove_user(content, user_guid)

acl_add_self(content)

acl_remove_self(content)

acl_remove_group(content, group_guid)

Arguments

content

The R6 Content object (as returned by content_item())

user_guid

The user's GUID. Use get_users()

role

One of "owner" or "viewer"

group_guid

The group's GUID. Use get_groups()

Details

Value

The R6 content object (for piping)

See Also

Other content functions: content_delete(), content_item(), content_title(), content_update(), create_random_name(), dashboard_url_chr(), dashboard_url(), delete_vanity_url(), deploy_repo(), get_acl_user(), get_bundles(), get_environment(), get_image(), get_jobs(), get_vanity_url(), git, permissions, set_image_path(), set_run_as(), set_vanity_url(), swap_vanity_url(), verify_content_name()


[Package connectapi version 0.1.3.1 Index]