mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-09 10:51:37 +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). |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| cypress | ||
| layouts | ||
| middleware | ||
| mixins | ||
| pages | ||
| players | ||
| plugins | ||
| static | ||
| store | ||
| strings | ||
| cypress.config.js | ||
| nuxt.config.js | ||
| package-lock.json | ||
| package.json | ||
| tailwind.config.js | ||