mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-20 06:37:23 +02:00
Retain session-bound artifact owner consent under current authority
This commit is contained in:
1 parent
b776ff7e5a
commit
5485f57e02
6 files changed
+898
No files matched your search
@@ -2,6 +2,7 @@ import { repositoryAccessSchema } from "../repository-access.schema";
|
||||
import { Schema } from "mongoose";
|
||||
|
||||
const AnonymizedRepositorySchema = new Schema({
|
||||
reviewConsentRevision: { type: Number, select: false },
|
||||
repoId: {
|
||||
type: String,
|
||||
index: { unique: true, collation: { locale: "en", strength: 2 } },
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Schema } from "mongoose";
|
||||
|
||||
const UserSchema = new Schema({
|
||||
reviewConsentRevision: { type: Number, select: false },
|
||||
accessTokens: {
|
||||
github: { type: String, select: false },
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user