Skip to contents

Grant another Mergin user access to a project. Wraps mergin share-add from the mergin-client CLI installed in the package venv.

Usage

rfp_mergin_share(name, user, permissions = c("reader", "writer", "owner"))

Arguments

name

Character. Full Mergin project name as namespace/project.

user

Character. Mergin username to grant access to.

permissions

Character. One of "reader", "writer", or "owner".

Value

Invisible character — the username that was granted access.

Examples

if (FALSE) { # \dontrun{
rfp_mergin_share("newgraph/elk_river_2026", "field_tech_1", "writer")
} # }