-
Notifications
You must be signed in to change notification settings - Fork 96
Build the governance module scaffold behind its feature flag #250
Copy link
Copy link
Open
Labels
GrantFox OSSGrantFox Open Source Sponsorship program tagGrantFox Open Source Sponsorship program tagMaybe RewardedIssue may qualify for a reward upon successful completion per campaign rulesIssue may qualify for a reward upon successful completion per campaign rulesThird CampaignOfficial FWC26 campaign issue — eligible for campaign scoring and rewardsOfficial FWC26 campaign issue — eligible for campaign scoring and rewardsarchitectureStructural / design-level changeStructural / design-level changefeatureNew feature, enhancement, or functional additionNew feature, enhancement, or functional addition
Description
Activity
Metadata
Metadata
Assignees
Labels
GrantFox OSSGrantFox Open Source Sponsorship program tagGrantFox Open Source Sponsorship program tagMaybe RewardedIssue may qualify for a reward upon successful completion per campaign rulesIssue may qualify for a reward upon successful completion per campaign rulesThird CampaignOfficial FWC26 campaign issue — eligible for campaign scoring and rewardsOfficial FWC26 campaign issue — eligible for campaign scoring and rewardsarchitectureStructural / design-level changeStructural / design-level changefeatureNew feature, enhancement, or functional additionNew feature, enhancement, or functional addition
Difficulty: Advanced | Type: Feature
Background:
NEXT_PUBLIC_FEATURE_GOVERNANCEexists, defaulting tofalseeverywhere, and "governance" is listed as not yet built, paralleling the "Advanced governance permissions" deferred area on theguildpass-corebackend.Problem: Like analytics, there is no implementation behind this flag yet — communities that want basic governance visibility (e.g. viewing role hierarchies, pending admin actions) have nothing to look at even when the flag is enabled.
Expected Outcome: An initial governance module renders a read-only view of the community's current roles, role assignments, and any admin-configured access policies in one consolidated dashboard, laying groundwork for future write actions.
Suggested Implementation: Add
app/admin/governance/gated by the flag, aggregating existingGET /v1/members(for role distribution) andGET /v1/policiesdata into a single governance-overview page, explicitly scoped as read-only for this first iteration with a documented note on what's intentionally out of scope.Acceptance Criteria:
Likely Affected Files/Directories:
app/admin/governance/(new),lib/features.ts,components/nav.tsxLabels:
feature,architecture,GrantFox OSS,Maybe Rewarded,Official Campaign | FWC26