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

Device Connectivity When User Deleted And Created In Another Account #2530

Open
LeoNerdoG opened this issue Mar 27, 2019 · 0 comments
Open
Assignees
Labels
Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console

Comments

@LeoNerdoG
Copy link
Contributor

If Kura device is conencted to Kapua with certain user/account/password credential, but then this user is deleted and create in another account with same name and password (and with proper permissions), device (if reconnected) is seen in Connections tab.
This can be problematic (from my point of view) since user may not know what this device is, so it can bring confusion into the system. I know the device is only seen in "Connections" and not in "Devices" but nevertheless the question stays the same.
Is this proper behaviour or not?

Testflow:

  1. Login as kapua-sys or any other user that has proper permissions
  2. Go to Users, create user0 and add ALL:ALL:ALL:YES permission to it
  3. Connect a live Kura device to user0:
  • topic.context.account-name: kapua-sys
  • username: user0
  • password: --password of user0--
  1. Now delete user0, go to Child Accounts and create an account (e.g. account0)
  2. In account0 create user named user0 (same name as before) with ALL:ALL:ALL:YES peermission
  3. Disconnect/Connect device if it does not reconnect itself
  4. Login as user0 and go to Devices/Connections
    Observe how device is shown in Connections but not in Devices (this is OK, but should device really be shown in Connections?).

Expected behavior
I do not know what expected behaviour here is but should device really be visible in Connections view of user0 if this user is first created in one account, deleted and then created in another account?

Version of Kapua
1.1.0-SNAPSHOT

Type of deployment
[ ] Local Vagrant deployment
[x] Docker
[ ] Openshift (in its variants)
[ ] Others

Main component affected
[x] Console (in case of console please report info on which browser you encountered the problem)
[ ] REST API
[ ] Message Broker
[ ] - Others

Browsers used:

  • Google Chrome (Version 72.0.3626.119 (Official Build) (64-bit))
  • Safari (Version 12.0.3 (14606.4.5))
  • Mozilla Firefox (65.0.1 (64-bit))
  • Opera (Version:58.0.3135.79)
@muros-ct muros-ct self-assigned this Mar 27, 2019
@Coduz Coduz added Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console labels May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug or an unexpected behaviour. Fix it! Console GWT This issue/PR is related to Admin Web Console
Projects
Development

No branches or pull requests

3 participants