mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-09 19:01:41 +00:00
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). |
||
|---|---|---|
| .. | ||
| Author.js | ||
| Book.js | ||
| BookAuthor.js | ||
| BookSeries.js | ||
| Collection.js | ||
| CollectionBook.js | ||
| CustomMetadataProvider.js | ||
| Device.js | ||
| Feed.js | ||
| FeedEpisode.js | ||
| Library.js | ||
| LibraryFolder.js | ||
| LibraryItem.js | ||
| MediaItemShare.js | ||
| MediaProgress.js | ||
| PlaybackSession.js | ||
| Playlist.js | ||
| PlaylistMediaItem.js | ||
| Podcast.js | ||
| PodcastEpisode.js | ||
| Series.js | ||
| Setting.js | ||
| User.js | ||