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). |
||
|---|---|---|
| .. | ||
| controllers | ||
| finders | ||
| libs | ||
| managers | ||
| migrations | ||
| models | ||
| objects | ||
| providers | ||
| routers | ||
| scanner | ||
| utils | ||
| Auth.js | ||
| Database.js | ||
| Logger.js | ||
| Server.js | ||
| SocketAuthority.js | ||
| Watcher.js | ||