From 2eac245d3ca7c519b7220aec311bae10efd545a0 Mon Sep 17 00:00:00 2001 From: Gary Sharp Date: Thu, 16 May 2013 19:46:04 +1000 Subject: [PATCH] Fix: PluginWebHandler use AuthorizeDiscoUsers --- Disco.BI/Properties/AssemblyInfo.cs | 4 ++-- Disco.Client/Properties/AssemblyInfo.cs | 4 ++-- Disco.ClientBootstrapper/Properties/AssemblyInfo.cs | 4 ++-- Disco.Data/Properties/AssemblyInfo.cs | 4 ++-- Disco.Models/Properties/AssemblyInfo.cs | 4 ++-- Disco.Services/Properties/AssemblyInfo.cs | 4 ++-- Disco.Web.Extensions/Properties/AssemblyInfo.cs | 4 ++-- Disco.Web/Controllers/PluginWebHandlerController.cs | 2 +- Disco.Web/Properties/AssemblyInfo.cs | 4 ++-- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Disco.BI/Properties/AssemblyInfo.cs b/Disco.BI/Properties/AssemblyInfo.cs index 6f7f843e..4bbc5dc7 100644 --- a/Disco.BI/Properties/AssemblyInfo.cs +++ b/Disco.BI/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.1911")] -[assembly: AssemblyFileVersion("1.2.0516.1911")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0516.1941")] +[assembly: AssemblyFileVersion("1.2.0516.1941")] \ No newline at end of file diff --git a/Disco.Client/Properties/AssemblyInfo.cs b/Disco.Client/Properties/AssemblyInfo.cs index f38dbcd5..e84cfa0f 100644 --- a/Disco.Client/Properties/AssemblyInfo.cs +++ b/Disco.Client/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.1903")] -[assembly: AssemblyFileVersion("1.2.0516.1903")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0516.1941")] +[assembly: AssemblyFileVersion("1.2.0516.1941")] \ No newline at end of file diff --git a/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs b/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs index c38d38ae..4b90b0d4 100644 --- a/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs +++ b/Disco.ClientBootstrapper/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.1900")] -[assembly: AssemblyFileVersion("1.2.0516.1900")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0516.1941")] +[assembly: AssemblyFileVersion("1.2.0516.1941")] \ No newline at end of file diff --git a/Disco.Data/Properties/AssemblyInfo.cs b/Disco.Data/Properties/AssemblyInfo.cs index d8a9b2ad..91eb1bcf 100644 --- a/Disco.Data/Properties/AssemblyInfo.cs +++ b/Disco.Data/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.1911")] -[assembly: AssemblyFileVersion("1.2.0516.1911")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0516.1941")] +[assembly: AssemblyFileVersion("1.2.0516.1941")] \ No newline at end of file diff --git a/Disco.Models/Properties/AssemblyInfo.cs b/Disco.Models/Properties/AssemblyInfo.cs index 5e3d0443..9b2d9f8a 100644 --- a/Disco.Models/Properties/AssemblyInfo.cs +++ b/Disco.Models/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.1911")] -[assembly: AssemblyFileVersion("1.2.0516.1911")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0516.1941")] +[assembly: AssemblyFileVersion("1.2.0516.1941")] \ No newline at end of file diff --git a/Disco.Services/Properties/AssemblyInfo.cs b/Disco.Services/Properties/AssemblyInfo.cs index c7288ed4..2bc7bf67 100644 --- a/Disco.Services/Properties/AssemblyInfo.cs +++ b/Disco.Services/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.1911")] -[assembly: AssemblyFileVersion("1.2.0516.1911")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0516.1941")] +[assembly: AssemblyFileVersion("1.2.0516.1941")] \ No newline at end of file diff --git a/Disco.Web.Extensions/Properties/AssemblyInfo.cs b/Disco.Web.Extensions/Properties/AssemblyInfo.cs index 8b3f2707..988fe59e 100644 --- a/Disco.Web.Extensions/Properties/AssemblyInfo.cs +++ b/Disco.Web.Extensions/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.2.0516.1911")] -[assembly: AssemblyFileVersion("1.2.0516.1911")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0516.1941")] +[assembly: AssemblyFileVersion("1.2.0516.1941")] \ No newline at end of file diff --git a/Disco.Web/Controllers/PluginWebHandlerController.cs b/Disco.Web/Controllers/PluginWebHandlerController.cs index 6179038b..e776e189 100644 --- a/Disco.Web/Controllers/PluginWebHandlerController.cs +++ b/Disco.Web/Controllers/PluginWebHandlerController.cs @@ -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) { diff --git a/Disco.Web/Properties/AssemblyInfo.cs b/Disco.Web/Properties/AssemblyInfo.cs index 4d5f59a1..27f16dd4 100644 --- a/Disco.Web/Properties/AssemblyInfo.cs +++ b/Disco.Web/Properties/AssemblyInfo.cs @@ -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")] \ No newline at end of file +[assembly: AssemblyVersion("1.2.0516.1941")] +[assembly: AssemblyFileVersion("1.2.0516.1941")] \ No newline at end of file