Add permissions example file for RNS FileSync with usage guidelines and examples
This commit is contained in:
33
permissions.example
Normal file
33
permissions.example
Normal file
@@ -0,0 +1,33 @@
|
||||
# RNS FileSync Permissions File
|
||||
#
|
||||
# Format: identity_hash permissions
|
||||
# Permissions: read, write, delete (comma-separated)
|
||||
#
|
||||
# Lines starting with # are comments
|
||||
# Whitespace and empty lines are ignored
|
||||
|
||||
# Examples:
|
||||
|
||||
# Full access for a specific peer
|
||||
# a1b2c3d4e5f6g7h8 read,write,delete
|
||||
|
||||
# Read-only access for a peer
|
||||
# 9876543210fedcba read
|
||||
|
||||
# Read and write, but no delete
|
||||
# abc123def456 read,write
|
||||
|
||||
# Wildcard: allow all peers with specific permissions
|
||||
# Use * to allow any peer to connect with the specified permissions
|
||||
# * read
|
||||
|
||||
# Public read-only server (anyone can download files)
|
||||
# * read
|
||||
|
||||
# Semi-public (anyone can read/write, but not delete)
|
||||
# * read,write
|
||||
|
||||
# Private: Only specific peers (no wildcard)
|
||||
b559704616f042e0b7b6ba46ada4c670 read,write,delete
|
||||
20d1f3debb50dde3df2cff74413b0f0d read,write
|
||||
|
||||
Reference in New Issue
Block a user