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

fix[datastore] owner with readonly access should be able to sub to on_delete, on_create, on_update #779

Conversation

saltonmassally
Copy link
Contributor

@saltonmassally saltonmassally commented Aug 31, 2020

solves #778

Issue #, if available:
#778

Description of changes:
If user has read access to a model they should be able to observe on_delete, on_create, and on_update events

Units tests are failing now some of which will be unnecessary if we are proceeding with this. WIll fix if we are at a consensus on this change

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@richardmcclellan richardmcclellan left a comment

Choose a reason for hiding this comment

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

I did some testing to confirm this change will work (detailed in #699), and it looks good to me.

I will approve this PR, pending updated unit tests. Thanks for this contribution @saltonmassally!

Somewhat related, we would like to get better integration test coverage in the future, so that issues like this can be verified through tests.

@richardmcclellan
Copy link
Contributor

Closing in favor of #807

@saltonmassally saltonmassally deleted the fix/isOwnerArgumentRequired branch October 10, 2020 11:05
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.

2 participants