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

Add minimal auditing to record entry #45

Open
blootsvoets opened this issue Sep 5, 2019 · 0 comments
Open

Add minimal auditing to record entry #45

blootsvoets opened this issue Sep 5, 2019 · 0 comments
Milestone

Comments

@blootsvoets
Copy link
Contributor

blootsvoets commented Sep 5, 2019

There should be some log or statement of which user uploaded or processed an entry. Auditing could be added to a record.audit field, with an array of status changes, time and users involved. Entries could have the form of {userId?, clientId?, time?, operation: CREATE | READ | UPDATE | DELETE, entityType: record | contents | metadata, recordId?, fileName?, status: INCOMPLETE | READY |...}

A simpler implementation could be to just list a createdBy field in record.metadata with type {userId?: <userId>, clientId?: <clientId>}.

In the former case, the API should probably also be extended.

@nivemaham what do you think?

@nivemaham nivemaham added this to the v0.4.0 milestone Dec 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants