rimesso override x superAdmin

This commit is contained in:
Samuele E. Locatelli
2015-09-10 10:00:33 +02:00
parent 58fd1fcf1d
commit f33364bb1d
7 changed files with 3 additions and 4 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -95,13 +95,12 @@ namespace CMS_SC.WebUserControls
public bool userCanDel(object _idxDossier)
{
bool answ = false;
int idxDossier = 0;
int trovati = 0;
// se è superuser è SEMPRE true...
//answ = userIsAdmin;
bool answ = userIsAdmin;
if (!answ)
{
int idxDossier = 0;
int trovati = 0;
// altrimenti verifico se sia un dossier "vuoto" e quindi eliminabile...
try
{
Binary file not shown.
Binary file not shown.
Binary file not shown.