Fix: PluginWebHandler use AuthorizeDiscoUsers
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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")]
|
||||
Reference in New Issue
Block a user