Skip to content

Conversation

@cj13579
Copy link
Contributor

@cj13579 cj13579 commented Jul 4, 2025

Warning

This PR is dependent on a number of other pre-requisite pull requests. See below for details.

This PR introduces an optional capability for admin users to manage any item on any wishlist. When the ADMIN_CAN_EDIT_ALL_WISHLISTS environment variable is set to true admin users can edit, archive, remove, and reorder any item on any user's wishlist, not just their own.

Details

  • Adds a new config option: ADMIN_CAN_EDIT_ALL_WISHLISTS.
  • Updates backend permission checks to allow admin users to perform all item management actions on any wishlist when enabled.
  • Updates the UI so that admin users see all item controls for every item on every wishlist, matching the backend permissions.

Usage

To enable this feature, set the following environment variable:

ADMIN_CAN_EDIT_ALL_WISHLISTS=true

Dependencies

The following pull requests should be merged before accepting this one:

github-actions bot and others added 30 commits September 24, 2024 01:56
* docs(contributor): contrib-readme-action has updated readme

* Move item to bottom of list

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
)

* Set location of PouchDB log file with environment variable.

* Use config system

* Use config system

---------

Co-authored-by: Wingy <git@wingysam.xyz>
* Added automation to keep contributers section current

* Updated README.md to use new automation to keep contributers current

* changed branch name

* fix: Added backslashes and typescript install to Dockerfile

* fix: Dockerfile, allow changes to be applied

---------

Co-authored-by: jskidie <153759737+jskidie@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants