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

User removes not shared device #507

Closed
franiis opened this issue Feb 9, 2016 · 2 comments
Closed

User removes not shared device #507

franiis opened this issue Feb 9, 2016 · 2 comments
Labels

Comments

@franiis
Copy link

franiis commented Feb 9, 2016

Hi,

I think I found small bug:

Lets assume that user "A" is manager and has user "B".
User "B" creates device "DEV". Manager gets rights to this device and can edit it or share. "A" can also disable sharing device "DEV" with "B" - then "B" won't be able to see device on Web Interface, so he won't be able to remove it via WebUI.
But he can do it via API (log on "B" account and simple removeDevice with id).

In similar situation, lets assume ("A" and "B" the same) that "A" disable sharing with "B" (who created device), and later "A" again share device with "B". Then "B" can remove device and device will disappear from "A" and from "B". I don't know if it is was intended, but for me it isn't expected behaviour.

Greetings
Piotr - franiis

@vitalidze vitalidze added the bug label Feb 9, 2016
@vitalidze
Copy link
Owner

I confirm: this is a bug. Right now access to the device is not checked in the API. Will be fixed in next version.

@vitalidze
Copy link
Owner

Fixed, written news, updated latest and demo versions.

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

No branches or pull requests

2 participants