audiobookshelf/client/components/app
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
..
Appbar.vue More accessibility updates: adding roles for toolbars, bookshelf cards, author sort #2268 #3699 2024-12-11 17:24:48 -06:00
BookShelfCategorized.vue Update:Home shelf labels use h2 tag, play & edit buttons overlaying item page updated to button tag with aria-label for accessibility #3699 2024-12-09 17:24:21 -06:00
BookShelfRow.vue Accessibility update for book & series cards, home page shelf scroll #2268 #3699 2024-12-12 16:51:36 -06:00
BookShelfToolbar.vue Update mobile toolbar nav to show queue for podcast libraries #3719 2024-12-18 17:44:46 -06:00
ConfigSideNav.vue Accessibility update for config side nav and modal, set focus on modal content on open 2024-12-12 15:16:49 -06:00
LazyBookshelf.vue Add: collection and playlist link to guide 2025-01-29 22:46:53 -07:00
MediaPlayerContainer.vue Pass ChapterInfo to media session 2025-01-28 09:47:26 -06:00
SettingsContent.vue Updates to authentication page for mobile screen sizes 2024-03-30 14:25:38 -05:00
SideRail.vue Add podcast permissions for non-admin users 2025-02-04 23:30:06 +01:00