refactor(ui): rename AuditLog viewer to ConfigurationAuditLog under /audit/configuration (#23 M7)
The pre-M1 IAuditService config-change viewer moves out of the Monitoring nav group to make room for the new Audit nav group (issue #23 M7). The old route /monitoring/audit-log returns 404 (no redirect, per plan) — the viewer is now reachable at /audit/configuration and labelled "Configuration Audit Log" to disambiguate from the new Audit Log page (arriving in #23 M7-T9). Inbound references in NavMenu, Dashboard, and the Playwright nav tests are updated to the new route and label.
This commit is contained in:
@@ -158,16 +158,16 @@ public class RoleNavigationTests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task DeploymentUser_SeesMonitoringButNotAuditLog()
|
||||
public async Task DeploymentUser_SeesMonitoringButNotConfigurationAuditLog()
|
||||
{
|
||||
var page = await _fixture.NewAuthenticatedPageAsync("deployer", "password");
|
||||
|
||||
// Event Logs and Parked Messages are Deployment-role gated, so a
|
||||
// Deployment user sees them; Audit Log is Admin-only.
|
||||
// Deployment user sees them; Configuration Audit Log is Admin-only.
|
||||
await AssertNavLinkVisible(page, "Health Dashboard");
|
||||
await AssertNavLinkVisible(page, "Event Logs");
|
||||
await AssertNavLinkVisible(page, "Parked Messages");
|
||||
await AssertNavLinkHidden(page, "Audit Log");
|
||||
await AssertNavLinkHidden(page, "Configuration Audit Log");
|
||||
}
|
||||
|
||||
// ── Multi-role user (Admin + Design + Deployment) ───────────────
|
||||
|
||||
Reference in New Issue
Block a user