This repository was archived by the owner on May 19, 2026. It is now read-only.
feat: Project level audit#776
Open
philipjackson wants to merge 35 commits into
Open
Conversation
SilviaZeta
approved these changes
Jul 29, 2022
13 tasks
ChasNelson1990
approved these changes
Jul 29, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds ProjectAudit.ts and TeamAudit.ts in the interfaces directory. These define interfaces for logging project and team level audit actions. These interfaces are used in
DominateStoreto log project and team level audit actions in a consistent format.Project and team level audits are implemented as collections. The project level audit's UID is stored in the gallery's metadata when the project is created (only currently works for newly created projects therefore). Team level audit is independent of any project and is created when
logTeamActionsis called for the first time. Team level audit was created to log user and collaborator invites and acceptance - these logs couldn't be stored in any project level audit because there's no way to meaningfully associate them with any particular project.Depends on gliff-ai/curate#448
Checklist:
Put an
xin the boxes that apply to this pull request (you can also fill these out after opening the pull request). If you're unsure about any of these, don't hesitate to leave a comment on this pull request!