[PR #3933] Add podcast permissions for non-admin users #4124

Open
opened 2026-04-25 00:18:25 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/3933
Author: @eudaldgr
Created: 2/4/2025
Status: 🔄 Open

Base: masterHead: add-podcast-permissions


📝 Commits (2)

  • ce57e2b Add podcast permissions for non-admin users
  • a76b3b8 fix: undo stupid copilot edits

📊 Changes

3 files changed (+10 additions, -7 deletions)

View changed files

📝 client/components/app/SideRail.vue (+5 -2)
📝 client/components/modals/AccountModal.vue (+1 -1)
📝 server/controllers/PodcastController.js (+4 -4)

📄 Description

Fixes #1258

Add user permissions for uploading podcasts and downloading episodes.

  • Update client/components/app/SideRail.vue to check for userCanUpload instead of userIsAdminOrUp for podcast search and download queue links.
  • Add getUserCanUpload getter in client/store/user.js to check the new upload permission.
  • Update server/controllers/PodcastController.js to allow users with the upload permission to create and download podcasts.
  • Add upload permission for non-admin users in server/models/User.js.
  • Add upload permission toggle switch in client/components/modals/AccountModal.vue.

For more details, open the Copilot Workspace session.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/3933 **Author:** [@eudaldgr](https://github.com/eudaldgr) **Created:** 2/4/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `add-podcast-permissions` --- ### 📝 Commits (2) - [`ce57e2b`](https://github.com/advplyr/audiobookshelf/commit/ce57e2ba5ea01ae5ab1133410ebf0da6f5a47a22) Add podcast permissions for non-admin users - [`a76b3b8`](https://github.com/advplyr/audiobookshelf/commit/a76b3b8323b1fe1c9b3bb626ea26e46b781984a7) fix: undo stupid copilot edits ### 📊 Changes **3 files changed** (+10 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `client/components/app/SideRail.vue` (+5 -2) 📝 `client/components/modals/AccountModal.vue` (+1 -1) 📝 `server/controllers/PodcastController.js` (+4 -4) </details> ### 📄 Description Fixes #1258 Add user permissions for uploading podcasts and downloading episodes. * Update `client/components/app/SideRail.vue` to check for `userCanUpload` instead of `userIsAdminOrUp` for podcast search and download queue links. * Add `getUserCanUpload` getter in `client/store/user.js` to check the new `upload` permission. * Update `server/controllers/PodcastController.js` to allow users with the `upload` permission to create and download podcasts. * Add `upload` permission for non-admin users in `server/models/User.js`. * Add `upload` permission toggle switch in `client/components/modals/AccountModal.vue`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/advplyr/audiobookshelf/pull/3933?shareId=5b8e57e6-42c3-411c-836d-ed31bb3e912b). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:18:25 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4124