2
0

PermissionKind.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. namespace Jellyfin.Data.Enums
  2. {
  3. /// <summary>
  4. /// The types of user permissions.
  5. /// </summary>
  6. public enum PermissionKind
  7. {
  8. /// <summary>
  9. /// Whether the user is an administrator.
  10. /// </summary>
  11. IsAdministrator = 0,
  12. /// <summary>
  13. /// Whether the user is hidden.
  14. /// </summary>
  15. IsHidden = 1,
  16. /// <summary>
  17. /// Whether the user is disabled.
  18. /// </summary>
  19. IsDisabled = 2,
  20. /// <summary>
  21. /// Whether the user can control shared devices.
  22. /// </summary>
  23. EnableSharedDeviceControl = 3,
  24. /// <summary>
  25. /// Whether the user can access the server remotely.
  26. /// </summary>
  27. EnableRemoteAccess = 4,
  28. /// <summary>
  29. /// Whether the user can manage live tv.
  30. /// </summary>
  31. EnableLiveTvManagement = 5,
  32. /// <summary>
  33. /// Whether the user can access live tv.
  34. /// </summary>
  35. EnableLiveTvAccess = 6,
  36. /// <summary>
  37. /// Whether the user can play media.
  38. /// </summary>
  39. EnableMediaPlayback = 7,
  40. /// <summary>
  41. /// Whether the server should transcode audio for the user if requested.
  42. /// </summary>
  43. EnableAudioPlaybackTranscoding = 8,
  44. /// <summary>
  45. /// Whether the server should transcode video for the user if requested.
  46. /// </summary>
  47. EnableVideoPlaybackTranscoding = 9,
  48. /// <summary>
  49. /// Whether the user can delete content.
  50. /// </summary>
  51. EnableContentDeletion = 10,
  52. /// <summary>
  53. /// Whether the user can download content.
  54. /// </summary>
  55. EnableContentDownloading = 11,
  56. /// <summary>
  57. /// Whether to enable sync transcoding for the user.
  58. /// </summary>
  59. EnableSyncTranscoding = 12,
  60. /// <summary>
  61. /// Whether the user can do media conversion.
  62. /// </summary>
  63. EnableMediaConversion = 13,
  64. /// <summary>
  65. /// Whether the user has access to all devices.
  66. /// </summary>
  67. EnableAllDevices = 14,
  68. /// <summary>
  69. /// Whether the user has access to all channels.
  70. /// </summary>
  71. EnableAllChannels = 15,
  72. /// <summary>
  73. /// Whether the user has access to all folders.
  74. /// </summary>
  75. EnableAllFolders = 16,
  76. /// <summary>
  77. /// Whether to enable public sharing for the user.
  78. /// </summary>
  79. EnablePublicSharing = 17,
  80. /// <summary>
  81. /// Whether the user can remotely control other users.
  82. /// </summary>
  83. EnableRemoteControlOfOtherUsers = 18,
  84. /// <summary>
  85. /// Whether the user is permitted to do playback remuxing.
  86. /// </summary>
  87. EnablePlaybackRemuxing = 19,
  88. /// <summary>
  89. /// Whether the server should force transcoding on remote connections for the user.
  90. /// </summary>
  91. ForceRemoteSourceTranscoding = 20
  92. }
  93. }