Skip to content

Zoph - FreedomBox automation required for Zoph app user creation

The single user case of FreedomBox and Zoph works fine. At install time the user installing Zoph can be identified as the Zoph admin and FreedomBox creates a corresponding Zoph app user. No problems.

When you have a second or subsequent user, these individuals do not have a Zoph app user created. The problem is opaque from a user's perspective and looks like this:

https://discuss.freedombox.org/t/solved-zoph-login-fails-on-mac-safari-client/3429

This situation will also arise if the single FreedomBox user sets up the Zoph application using privilege separation administrative user (fbx) and their preferred user account is an ordinary user.

Proposed Solution

Add a tickbox for Zoph in the permissions section. When checked for a user this will create a Zoph application user account corresponding to the FreedomBox user. My experience is that creating a user account in Zoph having a blank password field will work.

  • FreedomBox username: joe
  • Create a Zoph user: joe (leaving the password field blank)
  • joe can log in to FreedomBox, and then click the Zoph tile and begin using Zoph (caveat: #2471 but it will work)

It looks like there is quite a bit of detail in Zoph permissions that I don't understand yet, but creating the Zoph app user for a FreedomBox user will be a nice step forward. I am, for now, open to the argument that, "every Zoph user is a Zoph administrator," and create the account the same way we do at app installation.