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

impossible to link a device as normal user #2

Open
matztam opened this issue Oct 11, 2012 · 2 comments
Open

impossible to link a device as normal user #2

matztam opened this issue Oct 11, 2012 · 2 comments

Comments

@matztam
Copy link

matztam commented Oct 11, 2012

it is impossible to link a device as normal user. is this a bug or a feature? ;)

app.js:459

  • if (req.currentUser.admin) {
  • if (req.currentUser) {

would solve it.

@realdadfish
Copy link
Owner

Your request seems valid, but the suggested fix is not. If the admin flag is simply removed, then all users would be able to see all devices, not only their own ones. Could you prepare a proper patch for that? Thanks!

@matztam
Copy link
Author

matztam commented Oct 15, 2012

I hope I’ll have some time for it on next weekend.

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

No branches or pull requests

2 participants