ember-nexus / reference-dataset

Ember Nexus API backup containing different standardized scenarios
GNU General Public License v3.0
0 stars 0 forks source link

Create scenario `security.deleteToken` #28

Closed Syndesi closed 10 months ago

Syndesi commented 10 months ago

The security.deleteToken scenario is required to test the Ember Nexus API issue #111 and should include the following elements:

# nodes:
(user:User)
(token1:Token)
(token2:Token)
(token3:Token)
(data:Data)

# relations:
(user)-[:OWNS]->(token1)
(user)-[:OWNS]->(token2)
(user)-[:OWNS]->(token3)
(user)-[:OWNS]->(data)

All tokens should be valid and do not have an expiration date.

This scenario is similar to endpoint.user.deleteToken, although it is different in the scope. The user scenario is for testing an endpoint, this scenario is for testing the security of deleting tokens in general.