amtgard / ORK3

Version 3 of the Online Record Keeper
Other
23 stars 11 forks source link

Danger Audit Should Always List Target Player #142

Closed esdraelon closed 6 years ago

esdraelon commented 6 years ago

The danger audit schema and signature should always include a reference to the affected player, if possible.

For instance, deleting an award records the entity as "Player", but the entity_id is the AwardId.

Instead, the entity should be "Award", the entity_id should be AwardId, and there should be an affected_player_id reference to the PlayerId.