Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the noPaperTrail option to be set via continuation-local-storage #101

Open
jlw0 opened this issue Apr 2, 2020 · 0 comments
Open

Comments

@jlw0
Copy link

jlw0 commented Apr 2, 2020

User Story

As a paper trail consumer, I would like to use continuation-local-storage to set the noPaperTrail option, so that I don't need to include this option for each model/action when an endpoint is executed by a no-audit system user.

Acceptance Criteria

  1. Verify that a continuation-local-storage attribute may be set to indicate the noPaperTrail option is enabled.

  2. Verify that the sequelize-paper-trail hooks check the options for a noPaperTrail setting, and when it is not provided the noPaperTrail setting is pulled from continuation-local-storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant