From 04fdad73bdfb3bdd02e22515468c720525705ce5 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 5 Apr 2017 20:45:53 -0400 Subject: [PATCH] ACL ERRORS :smiley: --- Project-Unite/Controllers/DeveloperController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Project-Unite/Controllers/DeveloperController.cs b/Project-Unite/Controllers/DeveloperController.cs index 0825eb1..8e903d0 100644 --- a/Project-Unite/Controllers/DeveloperController.cs +++ b/Project-Unite/Controllers/DeveloperController.cs @@ -27,7 +27,7 @@ public ActionResult Releases() public ActionResult AddRelease() { - if (!ACL.Granted(User.Identity.Name, "CanReleaseBuilds")) + if (!ACL.Granted(User.Identity.Name, "CanReleaseBuild")) return new HttpStatusCodeResult(403); ViewBag.Developer = true; @@ -41,7 +41,7 @@ public ActionResult AddRelease() [ValidateAntiForgeryToken] public ActionResult AddRelease(PostDownloadViewModel model) { - if (!ACL.Granted(User.Identity.Name, "CanReleaseBuilds")) + if (!ACL.Granted(User.Identity.Name, "CanReleaseBuild")) return new HttpStatusCodeResult(403); if (!ModelState.IsValid) return View(model);