aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Enums/PermissionKind.cs
blob: 6644f01515a51c7b00ae65899689c67d17ba28a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
namespace Jellyfin.Data.Enums
{
    /// <summary>
    /// The types of user permissions.
    /// </summary>
    public enum PermissionKind
    {
        /// <summary>
        /// Whether the user is an administrator.
        /// </summary>
        IsAdministrator = 0,

        /// <summary>
        /// Whether the user is hidden.
        /// </summary>
        IsHidden = 1,

        /// <summary>
        /// Whether the user is disabled.
        /// </summary>
        IsDisabled = 2,

        /// <summary>
        /// Whether the user can control shared devices.
        /// </summary>
        EnableSharedDeviceControl = 3,

        /// <summary>
        /// Whether the user can access the server remotely.
        /// </summary>
        EnableRemoteAccess = 4,

        /// <summary>
        /// Whether the user can manage live tv.
        /// </summary>
        EnableLiveTvManagement = 5,

        /// <summary>
        /// Whether the user can access live tv.
        /// </summary>
        EnableLiveTvAccess = 6,

        /// <summary>
        /// Whether the user can play media.
        /// </summary>
        EnableMediaPlayback = 7,

        /// <summary>
        /// Whether the server should transcode audio for the user if requested.
        /// </summary>
        EnableAudioPlaybackTranscoding = 8,

        /// <summary>
        /// Whether the server should transcode video for the user if requested.
        /// </summary>
        EnableVideoPlaybackTranscoding = 9,

        /// <summary>
        /// Whether the user can delete content.
        /// </summary>
        EnableContentDeletion = 10,

        /// <summary>
        /// Whether the user can download content.
        /// </summary>
        EnableContentDownloading = 11,

        /// <summary>
        /// Whether to enable sync transcoding for the user.
        /// </summary>
        EnableSyncTranscoding = 12,

        /// <summary>
        /// Whether the user can do media conversion.
        /// </summary>
        EnableMediaConversion = 13,

        /// <summary>
        /// Whether the user has access to all devices.
        /// </summary>
        EnableAllDevices = 14,

        /// <summary>
        /// Whether the user has access to all channels.
        /// </summary>
        EnableAllChannels = 15,

        /// <summary>
        /// Whether the user has access to all folders.
        /// </summary>
        EnableAllFolders = 16,

        /// <summary>
        /// Whether to enable public sharing for the user.
        /// </summary>
        EnablePublicSharing = 17,

        /// <summary>
        /// Whether the user can remotely control other users.
        /// </summary>
        EnableRemoteControlOfOtherUsers = 18,

        /// <summary>
        /// Whether the user is permitted to do playback remuxing.
        /// </summary>
        EnablePlaybackRemuxing = 19,

        /// <summary>
        /// Whether the server should force transcoding on remote connections for the user.
        /// </summary>
        ForceRemoteSourceTranscoding = 20,

        /// <summary>
        /// Whether the user can create, modify and delete collections.
        /// </summary>
        EnableCollectionManagement = 21,

        /// <summary>
        /// Whether the user can edit subtitles.
        /// </summary>
        EnableSubtitleManagement = 22
    }
}