Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kieckhafer
Copy link
Member

Impact: minor
Type: bugfix

Issue

Account management tables were only displaying the current user, and not showing all users that were admins (when permissions allowed). This seemed to stem from removing the publication of the Meteor.users collection, as we were trying to get users from that collection.

Solution

Refactor to get users from the Accounts collection instead.

Breaking changes

None.

Testing

  1. Invite a Shop manager
  2. As the shop manager, go to the accounts page and see you can only see your own account
  3. As the shop admin (admin@localhost), see that you can see your own account, in addition to the shop admin account, in the accounts tables
  4. Create a new user group, and see you can move the users between groups

Accounts

@kieckhafer kieckhafer requested review from aldeed and impactmass August 7, 2019 18:09
Copy link
Contributor

@aldeed aldeed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Funny, I fixed this the same way in my PR today

@aldeed aldeed merged commit 55d2375 into develop Aug 7, 2019
@aldeed aldeed deleted the fix-kieckhafer-accountGroups branch August 7, 2019 21:10
@kieckhafer kieckhafer mentioned this pull request Aug 28, 2019
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

Successfully merging this pull request may close these issues.

3 participants