Repository navigation
AUT-04: add Platform.LabVisibility skeleton and contracts - #44
Open
dusankovacevicc wants to merge 1 commit into
Open
dusankovacevicc wants to merge 1 commit into
dusankovacevicc wants to merge 1 commit into
Conversation
Owner
|
Ponovni pregled (03.11): AUT-04/AUT-07 pripadaju timu 6. CI za backend i frontend, uključujući solution testove, prolazi. PR ima merge konflikte sa aktuelnim main nakon novih integracija. Molimo rešiti konflikte i ponovo pokrenuti CI; tada može na merge. |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Component and requirement IDs
Team 6 — AUT-04 (J), AUT-07 (П). Related: AUD-03, LAB-04.
Changes
backend/Platform.LabVisibility(added toSecurityLab.slnx, referenced fromPlatform.Api).LabPublicContentandEvaluatorKeyare separate types; the client-facingStudentLabViewhas only public fields.ILabPublicContentReader,IEvaluatorKeyStore,ICourseMembership,ILabVisibilityAudit,LabVisibilityActions.AddLabVisibility()andRegisterLabVisibilityAccess()registered inProgram.cs; Development-only demo course membership with fictional accounts.Verification
dotnet build backend/SecurityLab.slnxanddotnet test backend/SecurityLab.slnx: 52/52 passed locally.Architecture and data flow
Skeleton only. Component diagrams and DFD follow in the team component document.
Security checks and negative tests
lab.student.view,lab.preview,lab.key.read) are registered in the Access catalog without a policy and are denied withNoPolicy(fail-closed).UnknownAction.Dependencies
Uses
IAccessDecisionfrom Platform.Access (Team 3). Course membership is a dev stub until the ACC teams publish their contract.