stf icon indicating copy to clipboard operation
stf copied to clipboard

Can we generate one url for one device so that it will show only single device not all devices?

Open suvansh-dev opened this issue 9 years ago • 8 comments

suvansh-dev avatar Jun 14 '17 10:06 suvansh-dev

No not right now. Plus even if you could, users could still access the device list by changing the URL?

On Wed, Jun 14, 2017 at 19:48 suvansh-dev [email protected] wrote:

What is the issue or idea you have?

Does it only happen on a specific device? Please run adb devices -l and paste the corresponding row.

Please provide the steps to reproduce the issue.

What is the expected behavior?

Do you see errors or warnings in the stf local output? If so, please paste them or the full log here.

Please run stf doctor and paste the output here.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/openstf/stf/issues/620, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_fwWRX6QAaamcNBbIPK8l23tZNGNks5sD7qNgaJpZM4N5tXz .

sorccu avatar Jun 14 '17 10:06 sorccu

Plus even if you could means there is a possibility?What if i remove the drop down list of all devices and the devices section from the UI?

suvansh-dev avatar Jun 14 '17 10:06 suvansh-dev

You are right changing the url will show whole of the stuff.

suvansh-dev avatar Jun 14 '17 11:06 suvansh-dev

If you want to implement this properly, it would require to implement first an user-specific permissions system.

gunta avatar Jun 14 '17 11:06 gunta

ok thanks but what after that?

suvansh-dev avatar Jun 14 '17 11:06 suvansh-dev

After having a permissions system, assigning which user can see which device should be doable from the database at least. This will take effort and we don't have plans to do this right now, but contributions are welcome.

gunta avatar Jun 14 '17 11:06 gunta

ok sir, i will try to do this, if you found anything else that can help me to achieve this then please comment over here. Thanks!

suvansh-dev avatar Jun 14 '17 11:06 suvansh-dev

One thing more what kind of user-specific permission system i should make, please provide a brief summary like how should i start? In which language and how can i connect that with the existing code? I am currently using stf local to access it on the web browser.

suvansh-dev avatar Jun 14 '17 11:06 suvansh-dev