Skip to content

Commit

Permalink
Granular CLP pointer permissions (#6352)
Browse files Browse the repository at this point in the history
* set pointer permissions per operatioon; tests

* more tests

* fixes addField permission; tests
  • Loading branch information
BufferUnderflower authored and davimacedo committed Jan 28, 2020
1 parent 4beb89f commit 3c46117
Show file tree
Hide file tree
Showing 10 changed files with 1,380 additions and 37 deletions.
10 changes: 9 additions & 1 deletion spec/ParseObject.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,15 @@ describe('Parse.Object testing', () => {

it('invalid __type', function(done) {
const item = new Parse.Object('Item');
const types = ['Pointer', 'File', 'Date', 'GeoPoint', 'Bytes', 'Polygon'];
const types = [
'Pointer',
'File',
'Date',
'GeoPoint',
'Bytes',
'Polygon',
'Relation',
];
const tests = types.map(type => {
const test = new Parse.Object('Item');
test.set('foo', {
Expand Down
Loading

0 comments on commit 3c46117

Please sign in to comment.