get_acl: Get ACL Details

View source: R/acl.R

get_acl_userR Documentation

Get ACL Details

Description

\lifecycle

deprecated Retrieve the Access Controls associated with a given piece of content. Deprecated in favor of content_add_user() or permissions.

Usage

get_acl_user(content)

get_acl_group(content)

get_acl(content)

get_acl_user_role(content, user_guid)

get_acl_group_role(content, group_guid)

Arguments

content

Content An R6 Content item as returned from content_item()

user_guid

character A user guid. Get user guids using get_users()

group_guid

character A group guid. Get group guids using get_groups()

Details

NOTE: ACLs can still be stored, even when access_type for content is "all" or "logged_in" users. In these cases, granting or removing "viewer" privileges have no effect.

  • get_acl_user() returns user ACLs

  • get_acl_group() returns group ACLs

  • get_acl_user_role() returns the "role" for a particular user on a piece of content

  • get_acl_group_role() returns the "role" for a particular group on a piece of content

get_acl() is deprecated.

Value

A list of users/groups who have access to the content

See Also

Other content functions: acl_add_user(), content_delete(), content_item(), content_title(), content_update(), create_random_name(), dashboard_url_chr(), dashboard_url(), delete_vanity_url(), deploy_repo(), 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()


connectapi documentation built on Feb. 16, 2023, 7:46 p.m.