mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-30 19:54:14 -04:00
* 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
12 lines
352 B
C#
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";
|
|
}
|
|
} |