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

Admin: Read/write permissions for robots #42

Open
4 tasks
mayacakmak opened this issue Sep 24, 2020 · 0 comments
Open
4 tasks

Admin: Read/write permissions for robots #42

mayacakmak opened this issue Sep 24, 2020 · 0 comments

Comments

@mayacakmak
Copy link
Owner

mayacakmak commented Sep 24, 2020

Currently any user can edit content of a robot. This means someone could spend a lot of time making a robot work and someone else can come and mess it all up unintentionally. To avoid this, I propose:

  • Add a list of admins to each robot on the database; robot->admins, this could be email address and we could require Google sign in. It could also be anonymous uid (though those can change even using the same browser on the same machine). If we do this, maybe more the 'sign in with google' button somewhere else on the front-end tools page.
  • Change the setup tool to only work for users who are admins on a robot.
  • Only admins of a robot should be able to add/remove programs in the programming tool (though I think currently there is no way of removing programs)

Note that non-admins should still be able to view a robot ("read") and control it through WoZ or preexisting programs (i.e. "write" onto robot state/actions, but not content like faces, screens, programs, etc).

Also:

  • Update the Admin tool in the front-end so the master admins (which can only be added through the database UI) who have access to the Admin tool can add/remove robot admins.
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

1 participant