Add an 'owner' source tag, for the project owner

This commit is contained in:
Shane Kilkelly
2017-09-21 09:35:25 +01:00
parent ef7e1ceabf
commit 931ba56e33
2 changed files with 3 additions and 2 deletions
@@ -40,7 +40,7 @@ describe "CollaboratorsHandler", ->
it "should return an array of member ids with their privilege levels", ->
@callback
.calledWith(null, [
{ id: "owner-ref", privilegeLevel: "owner" }
{ id: "owner-ref", privilegeLevel: "owner", source: 'owner'}
{ id: "read-only-ref-1", privilegeLevel: "readOnly", source: 'invite'}
{ id: "read-only-ref-2", privilegeLevel: "readOnly", source: 'invite'}
{ id: "read-write-ref-1", privilegeLevel: "readAndWrite", source: 'invite'}