Spring Feature: GroupID and SubGroupID Logging Enhancements #42
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.
This pull request closes #40 "GroupID Subgroups, Logging". It merges Ben's changes in #43
SUBGROUP IDS
GroupID Access tokens (e.g.
MEEP-ONE-9V3
) can now have subgroups of the formID#
, where # is an integer. The intended use case is that a group of students will receive their access token, and can then add subgroup IDs to the end of it to identify themselves anonymously.Examples of valid tokens now accepted:
MEEP-ONE-9V3
MEEP-ONE-9V3-ID1
MEEP-ONE-9V3-ID291
Students can pick any number, and then let their teacher know which number they are.
SUBGROUP ID LOGGING
Actions logged by the NetCreate server include the access token, and this also includes the subgroup ID. Researchers should be able to tell who made what contribution from the logs written to
runtime/logs
. For example:Additionally, the nodes and edges in the database record the updating client. While this data isn't currently updated in realtime back to the UI, it is stored in the loki database and can be used to see who created the node and who modified it.
TESTING
STARTING TEST PROCEDURE
build
directorynpm run dev
npm run logtail
in window 2TEST LOGIN SUBGROUPIDS
-ID#
(where#
is any positive integer) to the token to see how it changesKNOWN ISSUES
_nlog
and_elog
properties that are being updated.SOURCE_UPDATE
message sent to clients.