Kavita/API/Constants/PolicyConstants.cs
Joseph Milazzo 16a77fa8d6
Download Support (#298)
* Implemented the ability to download files (series, volume, chapter)

* Added RBS checks to ensure user is either an admin or has download role

* Added the ability to change a users feature RBS. Changed the Role seed to use reflection
2021-06-10 07:47:35 -05:00

12 lines
352 B
C#

namespace API.Constants
{
public static class PolicyConstants
{
public const string AdminRole = "Admin";
public const string PlebRole = "Pleb";
/// <summary>
/// Used to give a user ability to download files from the server
/// </summary>
public const string DownloadRole = "Download";
}
}