The matrix could not represent board-create, app-create, integration-create,
search-engine-create or media-upload, and savePermissions force-bundled every
create key with its modify/full parent. Together that meant a group with
board-create was silently upgraded to board-full-all on the next save, and the
common "members may create their own boards" setup became unreachable.
- permissionMatrix models create/upload as an orthogonal capability next to the
ordered access levels, so all 20 permission keys round-trip losslessly
- savePermissions stores exactly what was selected
- the matrix UI gets a per-category create checkbox, auto-checked and disabled
when the chosen level already implies it
- a management section is reachable when the user can do at least one thing in
it; nav, pages and stat cards now share one access helper
- Gate app list procedures (getPaginated/all/search) behind app-modify-all
- Filter integration list procedures by per-integration access
- Bundle create permissions with their modify/full parents on group save
- Align manage nav, home stat cards and page gates with the new scope
- Add permission matrix UI with presets and effective-permission preview
- Show scoped empty states and delegated-admin notices on the integrations page
Replace the stacked install modals (browse -> details -> import review)
with page-based flows so the primary action is always reachable:
- /manage/custom-widgets/workshop browses submissions as a card grid
with large previews, sitting in a tab next to the installed widgets
- /manage/custom-widgets/workshop/[id] merges the listing, security
review and source setup onto one page with a sticky install footer
- /manage/custom-widgets/publish/[id] replaces the publish modal
- /manage/workshop redirects; its navbar entry is gone
- the Custom CSS picker collapses from three modals to one
Extract useCustomWidgetImport and ImportReviewContent so the Workshop
page and the file/clipboard dialog share one import pipeline.
Votes now show the viewer's own choice filled Reddit-style, backed by a
new user-votes query, and screenshots get a zoomable lightbox.
Rework the installed list onto ManageCollectionItem: show the widget
description, replace the cryptic "JSX - 2" badge with plain request and
origin facts, and swap the toggle and bare pencil for a status badge,
a labelled Edit button and a menu entry for enable/disable.
Fixes found while reviewing:
- importing could run twice and duplicate a widget; guard on pending and
succeeded, and return to the installed list instead of the heavy edit
form
- a background refetch of the submission (window focus, or the
invalidation a vote triggers) reset the source setup and silently wiped
part-typed credentials; key the reset on the sources, not the object
- breadcrumbs raised MISSING_MESSAGE for unmapped dynamic segments; fall
back to the raw segment via t.has
- publishing had no in-flight guard and could post duplicate listings
- tooltips on disabled vote and report controls never fired, making the
sign-in hint unreachable
* feat: add more group permissions
* feat: restrict access with app permissions
* feat: restrict access with search-engine permissions
* feat: restrict access with media permissions
* refactor: remove permissions for users, groups and invites
* test: adjust app router tests with app permissions
* fix: integration page accessible without session
* fix: search for users, groups and integrations shown to unauthenticated users
* chore: address pull request feedback
* feat: add media management
* feat: add missing page search item
* fix: medias should be hidden for anonymous users
* chore: rename show-all to include-from-all-users
* fix: inconsistent table column for creator-id of media
* fix: schema check not working because of custom type for blob in mysql
* chore: temporarily remove migrations
* chore: readd removed migrations
* feat: add everyone group through seed
* feat: add reserved group name check in group router actions
* feat: improve user interface for everyone group
* fix: reserved group alert is a server component
* feat: add all users to everyone group
* chore: update lockfile
* fix: format issues
* fix: lint issues
* fix: lint format issues
* test: add unit tests for everyone group
* refactor: add codegen for documentation urls by sitemap
* refactor: change group query to count
* chore: remove migrations temporarily
* chore: add migrations again
* chore: add lint rule to prevent usage of raw documentation links
* fix: format issues
* fix: restrict parts of manage navigation to admins
* fix: restrict stats cards on manage home page
* fix: restrict access to amount of certain stats for manage home
* fix: restrict visibility of board create button
* fix: restrict access to integration pages
* fix: restrict access to tools pages for admins
* fix: restrict access to user and group pages
* test: adjust tests to match permission changes for routes
* fix: remove certain pages from spotlight without admin
* fix: app management not restricted
* wip: add provider field to sqlite user table
* feat: disable invites when credentials provider is not used
* wip: add migration for provider field in user table with sqlite
* wip: remove fields that can not be modified by non credential users
* wip: make username, mail and avatar disabled instead of hidden
* wip: external users membership of group cannot be managed manually
* feat: add alerts to inform about disabled fields and managing group members
* wip: add mysql migration for provider on user table
* chore: fix format issues
* chore: address pull request feedback
* fix: build issue
* fix: deepsource issues
* fix: tests not working
* feat: restrict login to specific auth providers
* chore: address pull request feedback
* fix: deepsource issue
* feat: add user groups
* wip: add unit tests
* wip: add more tests and normalized name for creation and update
* test: add unit tests for group router
* fix: type issues, missing mysql schema, rename column creator_id to owner_id
* fix: lint and format issues
* fix: deepsource issues
* fix: forgot to add log message
* fix: build not working
* chore: address pull request feedback
* feat: add mysql migration and fix merge conflicts
* fix: format issue and test issue
* feat: add real time logger
* feat: add subscription for logging
* feat: use timestamp and level in xterm, migrate to new xterm package
* feat: improve design on log page
* fit: remove xterm fit addon
* fix: dispose terminal correctly
* style: format code
* refactor: add jsdoc for redis-transport
* fix: redis connection not possible sometimes
* feat: make terminal full size
* fix: deepsource issues
* fix: lint issue
---------
Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
When using a boolean attribute in JSX, you can set the attribute value to true or omit the value. This helps to keep consistency in code.
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>