project_member_update: Set permissions for a user to a project

Description Usage Arguments Value Examples

Description

This call will set project's member privileges. Privileges you do not explicitly set to "true" will be automatically set to "false". Project ID and user ID are specified in path parameters. Note that you must get the user IDs by performing the project_members() call and gathering id of the user with a specific permission.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
project_member_update(
  auth_token = NULL,
  project_id = NULL,
  user_id = NULL,
  write = FALSE,
  copy = FALSE,
  execute = FALSE,
  admin = FALSE,
  ...
)

Arguments

auth_token

auth token

project_id

ID of a project you want to access.

user_id

ID of a user whose permissions you with to set

write

Logical. Ability to create/edit/delete project objects.

copy

Logical. Ability to download or copy files.

execute

Logical. Ability to run tasks.

admin

Logical. User has all rights on the project (including changing).

...

parameters passed to sbgapi function

Value

parsed list of the returned json

Examples

1
2
3
4
token = '58aeb140-1970-0130-6386-001f5b34aa78'
req = project_member_update(token,
            project_id = '7f7a72d0-da77-4f51-9416-99f14f7316ab',
            user_id = '08890148-6d9e-4a10-b284-924228d3f99a')

road2stat/sbgr documentation built on March 9, 2021, 4:33 a.m.