mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[PR #8887] [MERGED] Add permissions for collection management #11713
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#11713
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/8887
Author: @Shadowghost
Created: 12/10/2022
Status: ✅ Merged
Merged: 2/14/2023
Merged by: @Bond-009
Base:
master← Head:collections-permissions📝 Commits (1)
b7418d6Add permission for collection management📊 Changes
11 files changed (+28 additions, -7 deletions)
View changed files
📝
Jellyfin.Api/Auth/UserPermissionPolicy/UserPermissionHandler.cs(+1 -2)📝
Jellyfin.Api/Auth/UserPermissionPolicy/UserPermissionRequirement.cs(+1 -1)📝
Jellyfin.Api/Constants/Policies.cs(+5 -0)📝
Jellyfin.Api/Controllers/CollectionController.cs(+2 -1)📝
Jellyfin.Data/Entities/User.cs(+1 -0)📝
Jellyfin.Data/Enums/PermissionKind.cs(+6 -1)📝
Jellyfin.Server.Implementations/Users/UserManager.cs(+2 -0)📝
Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs(+1 -1)📝
Jellyfin.Server/Migrations/Routines/MigrateUserDb.cs(+1 -0)📝
MediaBrowser.Controller/Entities/Movies/BoxSet.cs(+1 -1)📝
MediaBrowser.Model/Users/UserPolicy.cs(+7 -0)📄 Description
Changes
Will require changes to jellyfin-web (https://github.com/jellyfin/jellyfin-web/pull/4199) to take the new permission into account when displaying the elements in the item dropdown and collection screens. Additionally requires a setting in jellyfin-web to be available to set it.
Issues
Fixes #7179
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.