Creates a "standard" policy for everyday use. The agent can read any file
your R session can read, and write files inside working_dir. R code, shell
commands, web access and package installation are denied. Turn on code
execution only when you trust the model and the task: the code runs with
your user's access, not in 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