Fix: PluginWebHandler use AuthorizeDiscoUsers

This commit is contained in:
Gary Sharp
2013-05-16 19:46:04 +10:00
parent 06071679a9
commit 2eac245d3c
9 changed files with 17 additions and 17 deletions
@@ -10,7 +10,7 @@ namespace Disco.Web.Controllers
{
public partial class PluginWebHandlerController : Controller
{
[Authorize(Roles = "Admin")]
[AuthorizeDiscoUsersAttribute(Disco.Models.Repository.User.Types.Admin)]
[OutputCache(Duration = 0, Location = System.Web.UI.OutputCacheLocation.None)]
public virtual ActionResult Index(string PluginId, string PluginAction)
{
+2 -2
View File
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.2.0516.1911")]
[assembly: AssemblyFileVersion("1.2.0516.1911")]
[assembly: AssemblyVersion("1.2.0516.1941")]
[assembly: AssemblyFileVersion("1.2.0516.1941")]