Skip to content

Commit 2c9dfb7

Browse files
committed
feat(Toc): query for owner rights on sample
1 parent 7d751fc commit 2c9dfb7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

rest-on-couch/Roc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,11 @@ define([
348348
withCredentials: true,
349349
url: `${this.entryUrl}/${res.body[i].id}/_rights/write`,
350350
};
351+
res.body[i].userOwner = {
352+
type: 'boolean',
353+
withCredentials: true,
354+
url: `${this.entryUrl}/${res.body[i].id}/_rights/owner`,
355+
};
351356
}
352357
}
353358
for (let i = 0; i < res.body.length; i++) {

0 commit comments

Comments
 (0)