Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement minimal user management #7

Open
bergos opened this issue May 10, 2020 · 3 comments
Open

Implement minimal user management #7

bergos opened this issue May 10, 2020 · 3 comments
Assignees

Comments

@bergos
Copy link
Collaborator

bergos commented May 10, 2020

A minimal user management should be implement to distinguish shop owners/employees and operators.

The following roles will be used and can be set with a flag in the user table:

  • operator: The operator/host of the instance.
  • admin: Owners or employees of the shop.

A token will be used for authentication. The token URL should be also available on the user page as a QR Code to transfer it to other people.

Only the operator can update tokens.

@bergos bergos self-assigned this May 10, 2020
@bergos
Copy link
Collaborator Author

bergos commented May 14, 2020

Maybe it's better to give the operator user/password as an env variable to the application. This allows to set everything during application deployment and doesn't require any setup code in the application.

@Narigo
Copy link
Contributor

Narigo commented May 14, 2020

Since we are setting up the instances for the shops ourselves, this could make sense, yes. Registering a shop needs to send us an email though and updating it would need that user/password combination...

@Narigo
Copy link
Contributor

Narigo commented Jun 4, 2020

We need a user flow to make this available. Where should a user / operator / admin login? Does it make sense to show the "Register new shop" at all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants