jellyfin/Jellyfin.Data/Enums/PermissionKind.cs

114 lines
2.9 KiB
C#
Raw Normal View History

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