mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-31 03:50:08 -07:00
!wip added some missing code
This commit is contained in:
parent
7a7b00ab25
commit
1d4d3c5476
2 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
{
|
||||
public static class OmbiRoles
|
||||
{
|
||||
// DONT FORGET TO ADD TO IDENTITYCONTROLLER.CREATEROLES AND THE UI!
|
||||
|
||||
public const string Admin = nameof(Admin);
|
||||
public const string AutoApproveMovie = nameof(AutoApproveMovie);
|
||||
public const string AutoApproveTv = nameof(AutoApproveTv);
|
||||
|
|
|
@ -194,6 +194,7 @@ namespace Ombi.Controllers
|
|||
await CreateRole(OmbiRoles.RequestMovie);
|
||||
await CreateRole(OmbiRoles.RequestTv);
|
||||
await CreateRole(OmbiRoles.Disabled);
|
||||
await CreateRole(OmbiRoles.RecievesNewsletter);
|
||||
}
|
||||
|
||||
private async Task CreateRole(string role)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue