Skip to content

#5301 sensitive fields acl #5334

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

Merged
merged 11 commits into from
Feb 23, 2019

Conversation

awgeorge
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Jan 30, 2019

Codecov Report

Merging #5334 into master will increase coverage by 0.06%.
The diff coverage is 97.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5334      +/-   ##
==========================================
+ Coverage   93.89%   93.96%   +0.06%     
==========================================
  Files         123      127       +4     
  Lines        8972     9091     +119     
==========================================
+ Hits         8424     8542     +118     
- Misses        548      549       +1
Impacted Files Coverage Δ
src/Options/index.js 100% <ø> (ø) ⬆️
src/Options/Definitions.js 100% <ø> (ø) ⬆️
...rc/Adapters/Storage/Mongo/MongoSchemaCollection.js 95.34% <ø> (+0.05%) ⬆️
...dapters/Storage/Postgres/PostgresStorageAdapter.js 97% <ø> (-0.08%) ⬇️
src/Controllers/DatabaseController.js 95.09% <100%> (+0.16%) ⬆️
src/RestQuery.js 96.09% <100%> (+0.02%) ⬆️
src/Controllers/SchemaController.js 96.39% <100%> (+0.07%) ⬆️
src/ParseServer.js 96.32% <91.66%> (-0.43%) ⬇️
src/requiredParameter.js 100% <0%> (ø) ⬆️
... and 58 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 78eb3df...7c57ffa. Read the comment docs.

@awgeorge
Copy link
Contributor Author

Closes: #5301

@flovilmart
Copy link
Contributor

Nice one! I’ll review shortly!

Sent with GitHawk

Copy link

@milesrichardson milesrichardson left a comment

Choose a reason for hiding this comment

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

This is a good PR and oddly timely given what I'm working on. :P Thanks! Hope it gets merged. Now I've just gotta upgrade to parse 3...

@oallouch
Copy link
Contributor

oallouch commented Feb 1, 2019

magnifique !

@flovilmart
Copy link
Contributor

@acinader @dplewis can you give a review to this one? I believe the community is aching for those features.

@acinader
Copy link
Contributor

yes, I will.

Copy link
Contributor

@acinader acinader left a comment

Choose a reason for hiding this comment

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

@awgeorge this is really nice. Thanks!

I found a typo or two.

It would be nice to add a ProtectedFields.spec to exercise this feature on non-user objects, which has the added benefit of being some documentation.

I think that protectedFields can be set not only in a CLP, but also in an objects ACL (even though the sdk's don't support yet). If so, this would be good to exercise in a protectedFields spec?

I know it has been a while since you first submitted. Is adding a spec something you can bite off? If not, I can give it a try...

would be good to get the docs updated to include this too, but I don't see that ads a merge dependency.

@awgeorge
Copy link
Contributor Author

@acinader Thanks for reviewing, I should be able to sort those specs out, but I won't be able to get to it for a little while. Maybe if someone in the community who wanted this feature could lend a hand with the last tests that would be amazing. I'll pick it back up when my storm blows over if the work is still outstanding.

@acinader
Copy link
Contributor

@awgeorge there's a few failing tests for pii now. hope it wasn't one of my suggestions :0.

we don't need to wait for the tests i'm asking for to merge this into master and I can try my hand at it but not until next week.

if someone can take a look at the failed test, otherwise I'll try to later.

@acinader acinader merged commit 86e9351 into parse-community:master Feb 23, 2019
UnderratedDev pushed a commit to UnderratedDev/parse-server that referenced this pull request Mar 21, 2020
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.

5 participants