Fix: PluginWebHandler use AuthorizeDiscoUsers
This commit is contained in:
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0516.1911")]
|
[assembly: AssemblyVersion("1.2.0516.1941")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0516.1911")]
|
[assembly: AssemblyFileVersion("1.2.0516.1941")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0516.1903")]
|
[assembly: AssemblyVersion("1.2.0516.1941")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0516.1903")]
|
[assembly: AssemblyFileVersion("1.2.0516.1941")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0516.1900")]
|
[assembly: AssemblyVersion("1.2.0516.1941")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0516.1900")]
|
[assembly: AssemblyFileVersion("1.2.0516.1941")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0516.1911")]
|
[assembly: AssemblyVersion("1.2.0516.1941")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0516.1911")]
|
[assembly: AssemblyFileVersion("1.2.0516.1941")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0516.1911")]
|
[assembly: AssemblyVersion("1.2.0516.1941")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0516.1911")]
|
[assembly: AssemblyFileVersion("1.2.0516.1941")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0516.1911")]
|
[assembly: AssemblyVersion("1.2.0516.1941")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0516.1911")]
|
[assembly: AssemblyFileVersion("1.2.0516.1941")]
|
||||||
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.2.0516.1911")]
|
[assembly: AssemblyVersion("1.2.0516.1941")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0516.1911")]
|
[assembly: AssemblyFileVersion("1.2.0516.1941")]
|
||||||
@@ -10,7 +10,7 @@ namespace Disco.Web.Controllers
|
|||||||
{
|
{
|
||||||
public partial class PluginWebHandlerController : Controller
|
public partial class PluginWebHandlerController : Controller
|
||||||
{
|
{
|
||||||
[Authorize(Roles = "Admin")]
|
[AuthorizeDiscoUsersAttribute(Disco.Models.Repository.User.Types.Admin)]
|
||||||
[OutputCache(Duration = 0, Location = System.Web.UI.OutputCacheLocation.None)]
|
[OutputCache(Duration = 0, Location = System.Web.UI.OutputCacheLocation.None)]
|
||||||
public virtual ActionResult Index(string PluginId, string PluginAction)
|
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
|
// You can specify all the values or you can default the Revision and Build Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
[assembly: AssemblyVersion("1.2.0516.1911")]
|
[assembly: AssemblyVersion("1.2.0516.1941")]
|
||||||
[assembly: AssemblyFileVersion("1.2.0516.1911")]
|
[assembly: AssemblyFileVersion("1.2.0516.1941")]
|
||||||
Reference in New Issue
Block a user