jellyfin/Jellyfin.Data/Enums/PermissionKind.cs

114 lines
3.0 KiB
C#
Raw Normal View History

2020-05-02 14:56:05 -07:00
namespace Jellyfin.Data.Enums
{
2020-05-19 16:44:55 -07:00
/// <summary>
/// The types of user permissions.
/// </summary>
2020-05-12 19:10:35 -07:00
public enum PermissionKind
2020-05-02 14:56:05 -07:00
{
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user is an administrator.
/// </summary>
2020-05-20 06:36:12 -07:00
IsAdministrator = 0,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user is hidden.
/// </summary>
2020-05-20 06:36:12 -07:00
IsHidden = 1,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user is disabled.
/// </summary>
2020-05-20 06:36:12 -07:00
IsDisabled = 2,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user can control shared devices.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableSharedDeviceControl = 3,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user can access the server remotely.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableRemoteAccess = 4,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user can manage live tv.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableLiveTvManagement = 5,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user can access live tv.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableLiveTvAccess = 6,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user can play media.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableMediaPlayback = 7,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the server should transcode audio for the user if requested.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableAudioPlaybackTranscoding = 8,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the server should transcode video for the user if requested.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableVideoPlaybackTranscoding = 9,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user can delete content.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableContentDeletion = 10,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user can download content.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableContentDownloading = 11,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether to enable sync transcoding for the user.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableSyncTranscoding = 12,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user can do media conversion.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableMediaConversion = 13,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user has access to all devices.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableAllDevices = 14,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user has access to all channels.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableAllChannels = 15,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user has access to all folders.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableAllFolders = 16,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether to enable public sharing for the user.
/// </summary>
2020-05-20 06:36:12 -07:00
EnablePublicSharing = 17,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user can remotely control other users.
/// </summary>
2020-05-20 06:36:12 -07:00
EnableRemoteControlOfOtherUsers = 18,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the user is permitted to do playback remuxing.
/// </summary>
2020-05-20 06:36:12 -07:00
EnablePlaybackRemuxing = 19,
2020-05-19 16:44:55 -07:00
/// <summary>
/// Whether the server should force transcoding on remote connections for the user.
/// </summary>
2020-05-20 06:36:12 -07:00
ForceRemoteSourceTranscoding = 20
2020-05-02 14:56:05 -07:00
}
}