Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Add existing user to configuration #57

Open
tobiasraabe opened this issue Mar 9, 2017 · 5 comments
Open

Add existing user to configuration #57

tobiasraabe opened this issue Mar 9, 2017 · 5 comments
Labels

Comments

@tobiasraabe
Copy link
Owner

Description

Add option to add an existing user (useful for extending admin accounts).

  • no add user, no samba
  • yes to statics, venv,
@tobiasraabe
Copy link
Owner Author

@cataclysmic You said no samba, because the administrator has samba access by default. But what about every other user?

If that's true what about separating this command for administrator and user again? Two commands:

  • initialise asks whether admin should have statics (statics, venv, but no samba)
  • add_user checks whether user exists and asks whether she should be migrated into the configuration (statics, venv and samba)

@tobiasraabe tobiasraabe added this to the Version 0.1.0 milestone Mar 10, 2017
@cataclysmic
Copy link
Collaborator

On desktop systems users are usually created with samba permissions. If not then it's usually intentional. Also for initialization of a samba user you need to set the samba passwd. I fear that we might run into trouble here if we call smbpasswd for an existing user.

@tobiasraabe
Copy link
Owner Author

Like this Procedure here?

You are right. If they want to have samba they should set up a new account or do it themselves.

@tobiasraabe tobiasraabe self-assigned this Mar 11, 2017
@tobiasraabe
Copy link
Owner Author

@cataclysmic When I tried to implement this step, I was not sure where to start and where to end.

Migrating an existing user into the config involves many check and steps which are not currently coded. The framework should be changed like I proposed in #4 and that cannot be done until tomorrow.

When a user wants a working copy of oTree, she should create a new account and copy over her files. This is much safer than an adhoc solution.

When #4 is resolved, this issue will be part of it.

@cataclysmic
Copy link
Collaborator

cataclysmic commented Mar 12, 2017 via email

@tobiasraabe tobiasraabe removed this from the Version 0.2.0 milestone Jul 16, 2017
@tobiasraabe tobiasraabe removed their assignment Feb 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants