Server backup 2026-11-07 of uncommitted work in projects/pharma-web-celtic
Snapshot of the working tree on srv1071960 (branch main), taken during server cleanup. .env files, node_modules, builds, logs and media were excluded.
This commit is contained in:
+5
-5
@@ -104,8 +104,8 @@ async def client(session_factory, tmp_path) -> AsyncGenerator[AsyncClient, None]
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Organisation fixture: the minimum MVP system — 1 company, 2 HQs, GM, 2 AMs, 2 MRs.
|
||||
# The second HQ/AM/MR exist purely so the negative-scope tests (X1, X2) have someone
|
||||
# Organisation fixture: the minimum MVP system — 1 company, 2 HQs, AGM, 2 AMs, 2 MRs.
|
||||
# The second HQ/ABM/MR exist purely so the negative-scope tests (X1, X2) have someone
|
||||
# to be denied.
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
@@ -142,9 +142,9 @@ async def org(db: AsyncSession) -> dict:
|
||||
)
|
||||
|
||||
admin = make(Role.ADMIN, "System Admin", "ADM001")
|
||||
gm = make(Role.GM, "Anita Mohanty", "GM001")
|
||||
am1 = make(Role.AM, "Suresh Behera", "AM001")
|
||||
am2 = make(Role.AM, "Rakesh Sahu", "AM002")
|
||||
gm = make(Role.AGM, "Anita Mohanty", "GM001")
|
||||
am1 = make(Role.ABM, "Suresh Behera", "AM001")
|
||||
am2 = make(Role.ABM, "Rakesh Sahu", "AM002")
|
||||
mr1 = make(Role.MR, "Ravi Das", "MR001", hq1.id)
|
||||
mr2 = make(Role.MR, "Priya Nayak", "MR002", hq2.id)
|
||||
db.add_all([admin, gm, am1, am2, mr1, mr2])
|
||||
|
||||
Reference in New Issue
Block a user