Build a tibble of user permissions across one or more Mergin projects.
Wraps mergin share PROJECT from the mergin-client CLI. When project
is NULL, namespace is used to discover all projects via
mergin list-projects and permissions are fetched for each.
Usage
rfp_mergin_collaborators(project = NULL, namespace = NULL)
Arguments
- project
Character vector of full project names as
namespace/project. If NULL, all projects under namespace are
listed. Exactly one of project or namespace must be supplied.
- namespace
Character scalar. Workspace to enumerate when
project is NULL.
Value
Tibble with columns project, user, permissions.
Examples
if (FALSE) { # \dontrun{
rfp_mergin_collaborators("newgraph/restoration_wedzin_kwa")
rfp_mergin_collaborators(namespace = "newgraph")
} # }