audiobookshelf/client/components/modals
Eudald Gubert i Roldan ce57e2ba5e Add podcast permissions for non-admin users
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/issues/1258?shareId=XXXX-XXXX-XXXX-XXXX).
2025-02-04 23:30:06 +01:00
..
authors Replace failed to update toasts with one generic string 2024-09-29 17:53:52 -05:00
bookmarks Update bookmark modal to scale with playback rate #3728 2025-01-16 17:06:06 -06:00
changelog Accessibility update for config side nav and modal, set focus on modal content on open 2024-12-12 15:16:49 -06:00
collections Update Collection/Playlist and batch quick match modal bg colors to be consistent with other modals 2025-02-03 17:47:10 -06:00
emails Allow users to create ereaders (#3531) 2024-10-26 15:34:34 -05:00
item Support rich text book descriptions 2025-01-22 08:53:23 +02:00
libraries Add message to schedule library scan tab #3734 2025-01-09 16:25:41 -06:00
notification Add localization for notification descriptions 2024-10-12 15:22:21 -05:00
player Add:Next chapter button plays next item in queue #3299 2024-08-17 13:32:00 -05:00
playlists Update Collection/Playlist and batch quick match modal bg colors to be consistent with other modals 2025-02-03 17:47:10 -06:00
podcast Support rich text book descriptions 2025-01-22 08:53:23 +02:00
rssfeed Update copy to clipboard buttons to be standardized 2025-01-22 17:56:46 -06:00
AccountModal.vue Add podcast permissions for non-admin users 2025-02-04 23:30:06 +01:00
AddCustomMetadataProviderModal.vue Translation strings added (#3304) 2024-08-30 17:47:49 -05:00
AudioFileDataModal.vue Update copy to clipboard buttons to be standardized 2025-01-22 17:56:46 -06:00
BackupScheduleModal.vue Translation strings added (#3304) 2024-08-30 17:47:49 -05:00
BatchQuickMatchModel.vue Update Collection/Playlist and batch quick match modal bg colors to be consistent with other modals 2025-02-03 17:47:10 -06:00
BookmarksModal.vue Update bookmark modal to scale with playback rate #3728 2025-01-16 17:06:06 -06:00
ChaptersModal.vue Update chapter modal colors for consistency 2024-07-26 17:36:39 -05:00
Dialog.vue Fix:Library settings context menu actions for mobile view #1886 2023-07-11 17:06:14 -05:00
EditSeriesInputInnerModal.vue Accessibility update for multi select inputs and edit series modal 2024-12-25 09:40:16 -06:00
ListeningSessionModal.vue Translation strings added (#3304) 2024-08-30 17:47:49 -05:00
Modal.vue Update:Remove outline for focused modal content 2024-12-13 16:22:32 -06:00
PlayerSettingsModal.vue Add dropdown to player settings modal to set the playbackRateIncrementDecrement amount 2025-01-25 01:58:13 +00:00
RawCoverPreviewModal.vue Fix:Fullscreen cover image modal not updating when changing covers #2900 2024-05-02 17:48:50 -05:00
ShareModal.vue Update copy to clipboard buttons to be standardized 2025-01-22 17:56:46 -06:00
SleepTimerModal.vue Translation strings added (#3304) 2024-08-30 17:47:49 -05:00
UploadImageModal.vue Translation strings added (#3304) 2024-08-30 17:47:49 -05:00