ci & admin & auth & cli

This commit is contained in:
Paul Schneider 2021-06-18 23:57:02 +01:00
commit 5cb35f54d5
12 changed files with 143 additions and 34 deletions

View file

@ -0,0 +1,17 @@
using System;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using nuget_host.Data;
namespace nuget_host.Controllers
{
public class NewUpdateController : Controller
{
[Authorize(Policy = Constants.RequireAdminPolicyName)]
public IActionResult NewRelease(NewReleaseInfo version)
{
return View(version);
}
}
}