mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
768 B
Plaintext
30 lines
768 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pio access
|
|
|
|
> Set the access level on published resources (packages) in the registry.
|
|
> More information: <https://docs.platformio.org/en/latest/core/userguide/access/>.
|
|
|
|
- Grant a user access to a resource:
|
|
|
|
`pio access grant {{guest|maintainer|admin}} {{username}} {{resource_urn}}`
|
|
|
|
- Remove a user's access to a resource:
|
|
|
|
`pio access revoke {{username}} {{resource_urn}}`
|
|
|
|
- Show all resources that a user or team has access to and the access level:
|
|
|
|
`pio access list {{username}}`
|
|
|
|
- Restrict access to a resource to specific users or team members:
|
|
|
|
`pio access private {{resource_urn}}`
|
|
|
|
- Allow all users access to a resource:
|
|
|
|
`pio access public {{resource_urn}}`
|