Granular CLP pointer permissions (#6352)
* set pointer permissions per operatioon; tests * more tests * fixes addField permission; tests
This commit is contained in:
committed by
Antonio Davi Macedo Coelho de Castro
parent
4beb89fc2e
commit
3c46117d9b
@@ -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', {
|
||||
|
||||
Reference in New Issue
Block a user