Stop offering the portal's Access list to clients

Two more setup lines told a provider to put client users on Access. A
client on that list can see every other client on the account, and a
client has no separate way to sign in, so both now say Access is for the
provider's own staff.

Contract-Neutral: Portal setup wording only; no access, API or data contract changes
This commit is contained in:
courtmanr@gmail.com
2026-11-05 20:01:38 +00:00
parent 1fa4ddafb0
commit 2a9ba0443c
6 changed files with 7 additions and 5 deletions

View File

@@ -209,7 +209,7 @@ func defaultSetupTemplatesForAccount(account portalPageAccount) []BootstrapSetup
AgentNaming: "Each client workspace opens an isolated Pulse runtime; repeated hostnames are expected across clients.",
AlertRouting: "Create at least one enabled alert route inside each client runtime.",
Reporting: "Schedule at least one client performance report, with client branding when your plan includes white-label, before the workspace is marked ready.",
Access: "Invite provider staff from Access and keep client users on the smallest useful role.",
Access: "Invite your own staff from Access on the smallest useful role. Everyone there can see every client.",
},
}
}

View File

@@ -1,5 +1,5 @@
{
"source_hash": "43f9a43e28cfe884ddb96f54820bfcab44691f021e1763ffa6d87982c419a3cc",
"source_hash": "531194f8668b108b41852174e9b6c80d0305b4992aa4f087b485618af09a8956",
"build_inputs": [
"package.json",
"tsconfig.json",

File diff suppressed because one or more lines are too long

View File

@@ -32,7 +32,7 @@ function standardSetupTemplates() {
agent_naming: 'Keep the client workspace as the identity boundary; repeated hostnames are expected across clients.',
alert_routing: 'Create at least one enabled alert route inside each client workspace.',
reporting: 'Schedule at least one client performance report before the workspace is marked ready.',
access: 'Invite provider staff from Access and keep client users on the smallest useful role.',
access: 'Invite your own staff from Access on the smallest useful role. Everyone there can see every client.',
}];
}

View File

@@ -295,6 +295,8 @@ describe('shell view', function() {
expect(html).toContain('Schedule reports');
expect(html).toContain('Open the workspace-bound install commands.');
expect(html).toContain('Alerts and performance reports stay inside the client workspace.');
expect(html).toContain('Invite your own staff from Access.');
expect(html).not.toContain('client users');
expect(html).toContain('data-action="select-workspace"');
expect(html).toContain('Add a client');
expect(html).toContain('Access changes stay in Access. Billing changes stay in Billing.');

View File

@@ -1245,7 +1245,7 @@ function renderAccountWorkspaceSection(account: PortalAccountSummary, accountAPI
'</div>' +
'<div class="workspace-setup-step">' +
'<span class="workspace-setup-status" id="workspace-management-check-access-' + escapeAttr(account.id) + '"></span>' +
'<div><strong>Review access</strong><span>Invite provider staff or client users from Access.</span></div>' +
'<div><strong>Review access</strong><span>Invite your own staff from Access. Everyone there can see every client.</span></div>' +
'</div>' +
'</div>' +
'<div class="workspace-management-next-steps" id="workspace-management-next-steps-' +