Bulk-assign visibility to existing production links #37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Follow-up from spike #17 (
docs/visibility.md— Current Link Inventory). Depends on #30 (visibility column) and #35 (visibility UI).Repo
ldraney/palinksUser Story
As Lucas
I want all existing links assigned to the correct visibility tier
So that the visibility system works correctly from day one
Context
After the visibility column and UI ship, all existing links default to
superadmin. This one-time task assigns each link to its correct tier based on the inventory indocs/visibility.md. Can be a rake task or seed script. The inventory categorizes links into infrastructure (superadmin), dev tools (superadmin), shared projects (member), and portfolio (public).File Targets
lib/tasks/assign_visibility.rake— new rake taskdb/seeds.rb— update existing seed entries with visibilityFeature Flag
None — one-time data migration, not a toggleable feature.
Acceptance Criteria
superadminsuperadminmemberpublicTest Expectations
bundle exec rails assign_visibilityor equivalentConstraints
docs/visibility.mdinventory tablesChecklist
Related
project-palinks— project pagedocs/visibility.md— link inventory with tier assignments