Skip to content

Commit 2495a90

Browse files
author
Paul C
committed
v19.6.2: stale comment in users-list — refer to license not feature flag
Authored by Paul and Shadow from Wolf Software Systems Ltd. Cosmetic follow-up to v19.6.1 — the Cluster badge's inline comment still mentioned the since-removed per_user_clusters feature flag. Gating is license-based (platform_ready), not per-feature.
1 parent 11c5f78 commit 2495a90

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wolfstack"
3-
version = "19.6.1"
3+
version = "19.6.2"
44
edition = "2024"
55
authors = ["Wolf Software Systems Ltd"]
66
description = "Server management platform for the Wolf software suite"

web/js/app.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26892,11 +26892,11 @@ async function loadUsers() {
2689226892
html += '<div style="font-size:11px;color:var(--text-muted);margin-top:2px;">';
2689326893
html += '<span style="padding:2px 6px;border-radius:4px;background:var(--bg-tertiary);border:1px solid var(--border);font-size:10px;text-transform:uppercase;font-weight:600;">' + escapeHtml(user.role) + '</span>';
2689426894
if (user.totp_enabled) html += ' <span style="padding:2px 6px;border-radius:4px;background:rgba(34,197,94,0.1);color:var(--success);border:1px solid rgba(34,197,94,0.3);font-size:10px;font-weight:600;">2FA ENABLED</span>';
26895-
// Cluster access badge — only rendered on Enterprise
26896-
// installs (feature flag `per_user_clusters`). On non-
26897-
// enterprise installs the feature is invisible: no badge,
26898-
// no button, no hint it exists. Admins always see all
26899-
// clusters regardless, so we skip the badge for them too.
26895+
// Cluster access badge — only rendered when a valid
26896+
// enterprise license is loaded. On non-enterprise installs
26897+
// the feature is invisible: no badge, no button, no hint
26898+
// it exists. Admins always see all clusters regardless, so
26899+
// we skip the badge for them too.
2690026900
if (perUserClusters && user.role !== 'admin') {
2690126901
const ac = Array.isArray(user.allowed_clusters) ? user.allowed_clusters : [];
2690226902
const label = ac.length === 0 ? 'ALL CLUSTERS' : ac.join(', ');

0 commit comments

Comments
 (0)