Creates a permission policy suitable for most use cases. Allows reads of files accessible to the R process, confines file writes to the working directory. Denies arbitrary R code, bash commands, web access, and package installation. Grant code execution explicitly only when the model and task are trusted; process separation is not an OS sandbox.
Usage
permissions_standard(working_dir = getwd())Value
A Permissions object
Examples
perms <- permissions_standard()
permissions_check(perms, "write_file", list(path = "output.txt"))
#> <deputy::PermissionResultAllow>
#> @ decision: chr "allow"
#> @ message : NULL