rimesso override x superAdmin
This commit is contained in:
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.
Reference in New Issue
Block a user