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

New Client contact has access to last Sample only #1447

Merged
merged 1 commit into from
Sep 24, 2019

Conversation

xispa
Copy link
Member

@xispa xispa commented Sep 24, 2019

Description of the issue/feature this PR addresses

When a new client contact is created and new user created/linked, the new user can only see the last sample that was created for that client. The reason is that, although local roles for each client and descendants were correctly set, only the first sample was reindexed because the value obj was overriden in the loop.

Current behavior before PR

New user linked to client contact can only see the last sample from the client

Desired behavior after PR is merged

New user linked to client contact can see all samples from the client

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

Copy link
Contributor

@ramonski ramonski left a comment

Choose a reason for hiding this comment

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

Thanks for debugging this one! 🥇

@ramonski ramonski merged commit ed34142 into master Sep 24, 2019
@ramonski ramonski deleted the newcontact-access-to-first-sample branch September 24, 2019 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants