WordPress plugin
The PrivacySafe Locker WordPress plugin lets a website give its members Locker access. The website decides who qualifies; the plugin provisions access and sends the setup email. It works on any WordPress site, with no commerce plugin. Payments, if any, stay entirely separate.
What it does
- Create access: makes a one-time invitation and emails the person a setup link (
#invite=…). Opening the link only fills in the invitation; pressing Continue uses it. Locker receives only a hash of the invitation and the tier: never a name, email or WordPress id. The email is written in the member's own WordPress language. - Support actions on each user's profile (for users with the manage_privacysafe_locker capability): resend the setup email, cancel an unused invitation, change the tier, expire access and replace access (expire, then a fresh invitation). Expiring is permanent and needs confirmation.
- Current status when support opens a profile: invitation pending, setup in progress, active, setup required or unable to verify. If the person ended their own access with their revocation code, the status shows it's gone; WordPress isn't told why.
Website code grants access with do_action( 'privacysafe_locker_provision', $user_id, 'Plus' );. Automatic access for new registrations is opt-in and off by default: it applies only if the site sets PSL_LOCKER_AUTO_PROVISION_TIER.
Boundaries
- The plugin's token can create invitations, and check, change the tier of, or end access it created. It can't upload, open, list or delete Lockers, see links or keys, list access, or see access made with the admin tool.
- Locker keeps only keyed fingerprints of the token and references. WordPress keeps only each user's current reference (the tier is read from Locker, never stored), and an invitation's secret only until its email is sent. Nothing is logged on either side, and no history of past access is kept.
- Requests use HTTPS with certificate checks and no redirects. A failed or unanswered request never counts as access being gone, and a late answer can't remove newer access.
Set up
- On the Locker server, run
privacysafe-locker-admin provision-token, put the printed line inserver.conf, and restart. - In
wp-config.php, setPSL_LOCKER_API_BASE(https://YOUR-LOCKER/api/provision),PSL_LOCKER_API_TOKENandPSL_LOCKER_SITE_URL(https://YOUR-LOCKER). - Activate the plugin. Administrators get the capability; give it to support staff as needed.
Uninstalling removes the plugin's associations and capability. Access already set up keeps working until it's ended in Locker.