!wip added some missing code

pull/2161/head
Jamie Rees 7 years ago
parent 7a7b00ab25
commit 1d4d3c5476

@ -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…
Cancel
Save