Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -0,0 +1,31 @@
|
||||
// WF-P8 Subframe delta (S00 boards start page) — pipeline access requests.
|
||||
//
|
||||
// A viewer who is locked out of a pipeline (deny-based PipelineAccess rule
|
||||
// with kannSehen=false) can still see the board greyed out on the boards
|
||||
// start page and ask for access ("Nutzung anfragen"). Each request is
|
||||
// tracked here until a projects.admin grants access (approved) or dismisses
|
||||
// it.
|
||||
//
|
||||
// AD-21: this module owns its schema file. Cross-module references to
|
||||
// Pipeline and User are intentionally bare String scalars so this slice does
|
||||
// not modify projekt/core/accounts schemas.
|
||||
|
||||
enum PipelineAccessRequestStatus {
|
||||
open
|
||||
approved
|
||||
dismissed
|
||||
}
|
||||
|
||||
model PipelineAccessRequest {
|
||||
id String @id @default(cuid())
|
||||
tenantId String
|
||||
pipelineId String
|
||||
requestedByUserId String
|
||||
status PipelineAccessRequestStatus @default(open)
|
||||
createdAt DateTime @default(now())
|
||||
resolvedAt DateTime?
|
||||
resolvedByUserId String?
|
||||
|
||||
@@index([tenantId, pipelineId, status])
|
||||
@@index([tenantId, requestedByUserId])
|
||||
}
|
||||
Reference in new issue
Block a user