Skip to content

Commit

Permalink
Merge pull request #32 from ember-nexus/github-issue/31
Browse files Browse the repository at this point in the history
GitHub issue/31
  • Loading branch information
Syndesi authored Dec 1, 2023
2 parents 6131f19 + 90b98f0 commit 4a06dac
Show file tree
Hide file tree
Showing 60 changed files with 190 additions and 50 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
### Added
- Add test scenario `security.tokenState`, closes #31.
### Changed
- All tokens have a new property `state` set to the value `ACTIVE`, required by #31.

## 0.0.17 - 2023-10-29
### Added
Expand Down
3 changes: 2 additions & 1 deletion node/endpoint/element/deleteElement/node/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:CevJS3ZkDtJcCdqEhFKqWF",
"hash": "4a6150e94a8b74d1f2a08b515d1e6262813e56c9315cff21148495fcfe18ac51",
"scenario": "endpoint.element.deleteElement.node",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/element/deleteElement/relation/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:DZnGleUhhBS5CY2T3JUkFY",
"hash": "113dda7b5bfbf4edde0e207f5abd60048d9dcfa53dd8e0e3e94542ef25a2a345",
"scenario": "endpoint.element.deleteElement.relation",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/element/patchElement/node/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:PsN3SfXuql92IjEUkUYZFN",
"hash": "9e93a1fd0a2c610eeec749d7f8100c8fc7129aecee49799d7e3b58aefe50b95d",
"scenario": "endpoint.element.patchElement.node",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/element/patchElement/relation/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:S26Pn61Imv52pWOJ9GuXET",
"hash": "1e0534a02273005d4372cd9401a7a405fd1f2c585c4eaac81714640e7ca90902",
"scenario": "endpoint.element.patchElement.relation",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/element/postIndex/node/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:NMASHc1jOGZdU7pEl3j68T",
"hash": "8e1afc834c4388fca16de7fe7d8fe40b50427139a6743e0328a77f73a6669ff4",
"scenario": "endpoint.element.postIndex.node",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/element/postIndex/relation/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:OZmOjZnLpek1ppUvog82KR",
"hash": "d3f007b0661bb62ddb797e2733eebd93301e5fd0cd7d61c5c8e2e3538e325482",
"scenario": "endpoint.element.postIndex.relation",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/element/putElement/node/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:SuB0jXgi2sFAkC9su6ecr8",
"hash": "c9e6c68932bd5a0c57765203fde2aca17570669be179fc7ae072d96936640b57",
"scenario": "endpoint.element.putElement.node",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/element/putElement/relation/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:7Sm1i6YAFHCW2FFf5KmG3j",
"hash": "f8fc81b5d739df4cae113fc5f74518690c6b3195f46023581bcdd3ca589c47fd",
"scenario": "endpoint.element.putElement.relation",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/user/deleteToken/token1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:HWqEN8ai8eZtnfEIo4e1GI",
"hash": "77084f038948553ce92e20f11936953278203b18bf2f78b4cc183d8bc447f2e9",
"scenario": "endpoint.user.deleteToken",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/user/deleteToken/token2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:RIaBS3MoIoQRbu45ES4ZTP",
"hash": "6f36ef9a395a982bcef728933e99e6ff82db7c663f91f8971807c20e4dd9702c",
"scenario": "endpoint.user.deleteToken",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/user/getToken/token1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:7s0vuDVJ1UDH0SErDeaLNe",
"hash": "62ee3af6c3a4b38922894ff256abd79da4c53f857ab447f6b52f575780782bf3",
"scenario": "endpoint.user.getToken",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/user/getToken/token2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:6SXhgAHr76tTok79RCbdjk",
"hash": "317b5f2f14e9cc9e5a3641937b08f7b2951f2ea1a7cd9e4f7ec58408e6bf1c7d",
"scenario": "endpoint.user.getToken",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/endpoint/user/postToken/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:3tgEP9MhD81rkp3qiJcm1U",
"hash": "16188ad791497a1fc569a56e13bf023828de0c36d1a6367a284d31680c6ebbbb",
"scenario": "endpoint.user.postToken",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/frontend/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"data": {
"token": "secret-token:PIPeJGUt7c00ENn8a5uDlc",
"hash": "0728910ecf5e507be0c409720cb00d0732579de0d089c23852fbe5654f9857fe",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/general/ownershipModel/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:INirKZbnZETk6hLD86rfrL",
"hash": "e61b269ce385bc0e612c72cadb1727930f7b89dd4131779e72cf8dae6f9ffec9",
"scenario": "general.ownershipModel",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/general/pagination/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:FcXR4LsliYfWkYFKhTVovA",
"hash": "484d1a8b120e839abe4dd2048e5bf83f2a069b9c7764f0ada62258744def6f7e",
"note": "Token contains token only due to testing purposes.",
"scenario": "general.pagination"
"scenario": "general.pagination",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/basic/directedOwnsRelation/token1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:CqDtAdaXFchFHI4BAlaHZC",
"hash": "a005f8d6fd7a3fb38e40480fd57e208216fb678246d018468a82d8ffde1831ff",
"scenario": "security.basic.directedOwnsRelation",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/basic/directedOwnsRelation/token2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:BHaj5TtWZU7tJgEobfYvui",
"hash": "86f87e4b1fd50affa77734ba2d234cc97519ce6dd18678f00765ce17df2d9afb",
"scenario": "security.basic.directedOwnsRelation",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/basic/immediateNodeOwnership/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:P4VWKNQ2A6UaoaQgGSQXRB",
"hash": "8819401f761183b48203b35628d9683348009aab8cd2ec911d403114dc6ce1fc",
"scenario": "security.basic.immediateNodeOwnership",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/basic/immediateRelationOwnership/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:Au6srY6s3cW5THS6LeCl9Z",
"hash": "0e0d191feafd3bf0d77896b575267ba3d969d21d3dee318354cdaadf00856b13",
"scenario": "security.basic.immediateRelationOwnership",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/basic/missingAccessToStartOrEndNode/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:TNh7DjhjbAicQOmu2GuCZZ",
"hash": "21b6f7d01437cdf4392ef22ca4ae2c9c28ff48fcdcee519d08c1546d2266cf17",
"scenario": "security.basic.missingAccessToStartOrEndNode",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/basic/noConnection/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:451NiderFjTRW7TpoLoSWA",
"hash": "cbdcab299f8d8c9714bc9dbf1e5f0c19807315a0d0aea0df34cb5ef94041a190",
"scenario": "security.basic.noConnection",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/basic/noRelevantConnection/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:1KLilQkUoSgY4BhbCQimec",
"hash": "7865784849258bbd52e0a4f27ebed73b8b2962b217970fdb60a8d85eaaa4ae1a",
"scenario": "security.basic.noRelevantConnection",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/basic/pathNodeOwnership/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:6EorX1or81QkQDVp8uJMIV",
"hash": "28f093aa8a9c5a259e309397ded9cb6a98b44bc984e9657b8a208e330220096a",
"scenario": "security.basic.pathNodeOwnership",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/basic/pathRelationOwnership/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:JbPPgmVodPsBPGOpbS2NdD",
"hash": "eb3150d76f3291ba20015ec8b1d7d4a117a8a2a96fc83ae58e7f6eacfc922d2c",
"scenario": "security.basic.pathRelationOwnership",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/deleteToken/token1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:MvsgHPbJY6LhtTbm9jnNXs",
"hash": "a7f0e5e7e29b1ba915e7be186a6fdc53ec1fe64a1bb869a51c4a609795d60c46",
"scenario": "security.deleteToken",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/deleteToken/token2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:5nm7j0FE6sPuHqRgjvK40U",
"hash": "d57b69e986e682703eddef6335e467c13a7e4f1deefdf3ba0c8acc179e68ba53",
"scenario": "security.deleteToken",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/deleteToken/token3.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:KhPjldUIB3YYMU44CUTJpC",
"hash": "a79ff5e7615586f077fe3750fdaefab61f6970095318f8a9249eacdccd96d8b3",
"scenario": "security.deleteToken",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/edgeCase/isInGroupAfterOwns/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:AZuaUFmZ6YB2g14CO1qAlM",
"hash": "564359b077f3718f012db5672a532fd4cd3f617ec5c6502b9b37dc4b82942257",
"scenario": "security.edgeCase.isInGroupAfterOwns",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:SaUQctGYKDHdRnm1jj7pG5",
"hash": "7f84376a8121f53d62b73440e57405e6af3ac8fc7250b805dd12c497af1131c6",
"scenario": "security.edgeCase.owningGroupsDoesNotGrantRecursiveRights",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/edgeCase/tokenWithNoOwner/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:D44551NKEtvd9KgHXTPd32",
"hash": "b392c63b12d58dbb06a8c79b933de399ac6826b1f3b53f9f9f272d8f8bcbdb01",
"scenario": "security.edgeCase.tokenWithNoOwner",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/edgeCase/tokenWithTwoOwners/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:Fqd0dnLYhXdPSMvMi3c8Bp",
"hash": "f653db301feb9592bdd5000accb591c316f39df7f8cec730b5c0559049a68217",
"scenario": "security.edgeCase.tokenWithTwoOwners",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/limitedAccess/readAccess/token.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:S55SWBoCDt99LT95JTIWg0",
"hash": "61adb8911dac1cb3419f63f4e673377cadca12e1dd04ff7b5f40d1206b4a5605",
"scenario": "security.limitedAccess.readAccess",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/limitedAccess/searchAccess/7-01-token1.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:Dp6FGPhJplengl8NSAI7vO",
"hash": "6a86c9a8fdbda9f75facc0dfefdba006d8a4f69599159a0f801d81a83034a096",
"scenario": "security.limitedAccess.searchAccess",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/limitedAccess/searchAccess/7-01-token2.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:RDiFmL57a2igibaW21ZFoC",
"hash": "3cd734c30146e937204a67b5c4d151dec53e6498b6a6fe4d454275a495739183",
"scenario": "security.limitedAccess.searchAccess",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/limitedAccess/searchAccess/7-01-token3.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:MJ04n655khrXMOraf9INcV",
"hash": "a442c412d8616541e3f6c3ec1f00ea7a86181889e42ec82c30d434a39026cfce",
"scenario": "security.limitedAccess.searchAccess",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/limitedAccess/searchAccess/7-01-token4.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:PfVAPFK1qmE5pqel39Ime8",
"hash": "eed5566bb6084eb769e1fae6df67dce355decda04f6ee9e870e013eaa13b1011",
"scenario": "security.limitedAccess.searchAccess",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/limitedAccess/searchAccess/7-01-token5.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:Urhq1nO0p8jQnAZER721r5",
"hash": "363ab392272e2337fef5d1916b1151f0178ed320b6416b80e039801cd1fc271e",
"scenario": "security.limitedAccess.searchAccess",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/limitedAccess/searchAccess/7-01-token6.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:S8Y7FhkJIotvKnejEcSmdW",
"hash": "a0f35473f3f746285f46de7fa5fe1e33d1fb14842f024fadea172d64396ca457",
"scenario": "security.limitedAccess.searchAccess",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
3 changes: 2 additions & 1 deletion node/security/limitedAccess/searchAccess/7-01-token7.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:OSeO4aXCZQorQ977P6XISP",
"hash": "a86569a753b45b29b3a8b90cb1e448fca578c6424dbc79b51eccd2015b8b7a7c",
"scenario": "security.limitedAccess.searchAccess",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:FD6njLoO4k8cmFJbluNkfT",
"hash": "6769a1414a22b5c898fb1f56bf7b7015fefe12820b296f3b44617c8ac02645c4",
"scenario": "security.mixedGroupOwnership.mixedNodeOwnership",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:HGDfrDYh5T5hFerngpuY8I",
"hash": "f6200de07c9b5ed59f9b00e5b49f8e2e7fcf1d7fddadb7f2327fe4c833597da9",
"scenario": "security.mixedGroupOwnership.mixedRelationOwnership",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"token": "secret-token:GVt8Z7QsZf6c8Yu6e1gnB8",
"hash": "1a49f126b078c33d69d9f29c8630b9d5530222313b629d7b34963762c0180f5d",
"scenario": "security.multipleGroups.immediateNodeOwnership",
"note": "Token contains token only due to testing purposes."
"note": "Token contains token only due to testing purposes.",
"state": "ACTIVE"
}
}
Loading

0 comments on commit 4a06dac

Please sign in to comment.