Skip to main content
HOW-TO

Access Control

Configure multi-user access to your PC2 node.

Overview​

By default, the first wallet to login becomes the Owner. The owner can add additional wallets, assign roles, remove access, and manage all settings.

Roles​

RolePermissions
OwnerFull access, manage all wallets, system settings
AdminFull data access, cannot manage other admins
MemberOwn wallet scope only, limited settings

Enabling Access Control​

Access control is disabled by default. To enable:

From UI​

  1. Go to Settings -> Security
  2. Find "Access Control" section
  3. Toggle "Enable Access Control"
  4. Click Save

From Config​

Edit data/config/pc2.json:

{
"accessControl": {
"enabled": true,
"allowedWallets": []
}
}

Adding Wallets​

Only the Owner can add new wallets.

  1. Go to Settings -> Security
  2. Find "Allowed Wallets" section
  3. Enter wallet address (0x...)
  4. Select role (Admin or Member)
  5. Click "Add Wallet"

Removing Wallets​

  1. Go to Settings -> Security
  2. Find the wallet in the list
  3. Click the trash icon
  4. Confirm removal

That wallet can no longer access your node.

Use Cases​

Family Cloud​

  1. Enable access control
  2. Add family members as Members
  3. Each has isolated storage
  4. Share files via Public folder

Team Workspace​

  1. Enable access control
  2. Add team leads as Admins
  3. Add team members as Members
  4. Admins can manage shared resources

Personal Only​

Keep access control disabled for single-user mode (default).

Security Notes​

  • Wallet addresses are immutable
  • Role changes take effect immediately
  • Removed wallets lose access instantly
  • Owner cannot be removed or demoted
warning

Be careful who you add as Admin -- they have full data access.