Skip to content

Commit

Permalink
Merge pull request #177 from aaguiarz/unique-resource-names
Browse files Browse the repository at this point in the history
Added unique resource IDs per owner
  • Loading branch information
ogazitt authored Nov 15, 2024
2 parents 467e54b + 8b9ea0b commit 45a4284
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 86 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -94,7 +94,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b91",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -113,7 +113,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -132,7 +132,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b91",
"properties": {
"ownerID": "[email protected]"
}
Expand Down Expand Up @@ -216,7 +216,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -228,14 +228,15 @@
"request": {
"subject": {
"type": "user",
"_note" : "ID for Morty",
"id":"CiRmZDE2MTRkMy1jMzlhLTQ3ODEtYjdiZC04Yjk2ZjVhNTEwMGQSBWxvY2Fs"
},
"action": {
"name": "can_update_todo"
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b91",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -254,7 +255,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -273,7 +274,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b91",
"properties": {
"ownerID": "[email protected]"
}
Expand Down Expand Up @@ -357,7 +358,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -376,7 +377,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b93",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -395,7 +396,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -414,7 +415,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b93",
"properties": {
"ownerID": "[email protected]"
}
Expand Down Expand Up @@ -497,7 +498,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -516,7 +517,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b94",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -535,7 +536,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -554,7 +555,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b94",
"properties": {
"ownerID": "[email protected]"
}
Expand Down Expand Up @@ -637,7 +638,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -656,7 +657,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "240d0db-8ff0-41ec-98b2-34a096273b95",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -675,7 +676,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"properties": {
"ownerID": "[email protected]"
}
Expand All @@ -694,7 +695,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "240d0db-8ff0-41ec-98b2-34a096273b95",
"properties": {
"ownerID": "[email protected]"
}
Expand Down
40 changes: 20 additions & 20 deletions interop/authzen-todo-backend/test/decisions-1.0-preview.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"ownerID": "[email protected]"
}
},
Expand All @@ -100,7 +100,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b91",
"ownerID": "[email protected]"
}
},
Expand All @@ -118,7 +118,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"ownerID": "[email protected]"
}
},
Expand All @@ -136,7 +136,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b91",
"ownerID": "[email protected]"
}
},
Expand Down Expand Up @@ -225,7 +225,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"ownerID": "[email protected]"
}
},
Expand All @@ -243,7 +243,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b91",
"ownerID": "[email protected]"
}
},
Expand All @@ -261,7 +261,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"ownerID": "[email protected]"
}
},
Expand All @@ -279,7 +279,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b91",
"ownerID": "[email protected]"
}
},
Expand Down Expand Up @@ -368,7 +368,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"ownerID": "[email protected]"
}
},
Expand All @@ -386,7 +386,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b93",
"ownerID": "[email protected]"
}
},
Expand All @@ -404,7 +404,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"ownerID": "[email protected]"
}
},
Expand All @@ -422,7 +422,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b93",
"ownerID": "[email protected]"
}
},
Expand Down Expand Up @@ -510,7 +510,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"ownerID": "[email protected]"
}
},
Expand All @@ -528,7 +528,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b94",
"ownerID": "[email protected]"
}
},
Expand All @@ -546,7 +546,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"ownerID": "[email protected]"
}
},
Expand All @@ -564,7 +564,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b94",
"ownerID": "[email protected]"
}
},
Expand Down Expand Up @@ -652,7 +652,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"ownerID": "[email protected]"
}
},
Expand All @@ -670,7 +670,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b95",
"ownerID": "[email protected]"
}
},
Expand All @@ -688,7 +688,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b92",
"ownerID": "[email protected]"
}
},
Expand All @@ -706,7 +706,7 @@
},
"resource": {
"type": "todo",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b9f",
"id": "7240d0db-8ff0-41ec-98b2-34a096273b95",
"ownerID": "[email protected]"
}
},
Expand Down
Loading

0 comments on commit 45a4284

Please sign in to comment.