mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 02:58:50 +00:00
Update cheatsheets
This commit is contained in:
29
pio-access
Normal file
29
pio-access
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user