diff --git a/C2P/C2P.csproj b/C2P/C2P.csproj
index 2e57ace..45dacf8 100644
--- a/C2P/C2P.csproj
+++ b/C2P/C2P.csproj
@@ -463,6 +463,7 @@
Web.config
+ Designer
diff --git a/C2P/Images/LogoCostimate.png b/C2P/Images/LogoCostimate.png
index 4cc5842..8e69905 100644
Binary files a/C2P/Images/LogoCostimate.png and b/C2P/Images/LogoCostimate.png differ
diff --git a/C2P/WebUserControls/mod_testata.ascx b/C2P/WebUserControls/mod_testata.ascx
index 2b67ba1..e13272f 100644
--- a/C2P/WebUserControls/mod_testata.ascx
+++ b/C2P/WebUserControls/mod_testata.ascx
@@ -88,8 +88,8 @@
--%>
Gestione Voc
Update Voc
- <%--
- My Profile--%>
+ <%----%>
+ User Admin
diff --git a/C2P/WebUserControls/mod_testata.ascx.cs b/C2P/WebUserControls/mod_testata.ascx.cs
index 5669da9..0b12861 100644
--- a/C2P/WebUserControls/mod_testata.ascx.cs
+++ b/C2P/WebUserControls/mod_testata.ascx.cs
@@ -99,6 +99,7 @@ namespace C2P.WebUserControls
Response.Redirect("UserAdmin");
}
}
+ liUserAdmin.Visible = userIsSuperAdmin;
}
///
/// verifica che la pagina sia tra quelle autorizzate x l'utente
@@ -246,6 +247,16 @@ namespace C2P.WebUserControls
{
return user_std.UtSn.Traduci(lemma.ToString());
}
+ ///
+ /// verifica se utente sia SuperAdmin
+ ///
+ public bool userIsSuperAdmin
+ {
+ get
+ {
+ return devicesAuthProxy.stObj.userHasRight("SuperAdmin");
+ }
+ }
#if false
///
/// modifica campo ricerca...
diff --git a/C2P/WebUserControls/mod_testata.ascx.designer.cs b/C2P/WebUserControls/mod_testata.ascx.designer.cs
index 2bd60e6..6458d1d 100644
--- a/C2P/WebUserControls/mod_testata.ascx.designer.cs
+++ b/C2P/WebUserControls/mod_testata.ascx.designer.cs
@@ -47,5 +47,14 @@ namespace C2P.WebUserControls {
/// To modify move field declaration from designer file to code-behind file.
///
protected global::System.Web.UI.HtmlControls.HtmlImage imgLogo;
+
+ ///
+ /// liUserAdmin control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlGenericControl liUserAdmin;
}
}
diff --git a/C2P/bin/C2P.dll b/C2P/bin/C2P.dll
index 6d26ed4..06bed46 100644
Binary files a/C2P/bin/C2P.dll and b/C2P/bin/C2P.dll differ
diff --git a/C2P/bin/C2P_Data.dll b/C2P/bin/C2P_Data.dll
index e116eb2..866543f 100644
Binary files a/C2P/bin/C2P_Data.dll and b/C2P/bin/C2P_Data.dll differ
diff --git a/C2P/bin/SteamWare.dll b/C2P/bin/SteamWare.dll
index b79e5f1..732cbb1 100644
Binary files a/C2P/bin/SteamWare.dll and b/C2P/bin/SteamWare.dll differ
diff --git a/C2P_Report/bin/C2P_Data.dll b/C2P_Report/bin/C2P_Data.dll
index e116eb2..866543f 100644
Binary files a/C2P_Report/bin/C2P_Data.dll and b/C2P_Report/bin/C2P_Data.dll differ
diff --git a/C2P_Report/bin/C2P_Report.dll b/C2P_Report/bin/C2P_Report.dll
index f45c570..d00fd6f 100644
Binary files a/C2P_Report/bin/C2P_Report.dll and b/C2P_Report/bin/C2P_Report.dll differ
diff --git a/C2P_Report/bin/SteamWare.dll b/C2P_Report/bin/SteamWare.dll
index b79e5f1..732cbb1 100644
Binary files a/C2P_Report/bin/SteamWare.dll and b/C2P_Report/bin/SteamWare.dll differ