public static bool CanEditObject()
 {
     return(AutorizationRulesControler.CanEditObject(Resources.SecureItems.EMPRESA));
 }
Exemple #2
0
 public static bool CanDeleteObject()
 {
     return(AutorizationRulesControler.CanDeleteObject(Resources.SecureItems.AUXILIARES));
 }
Exemple #3
0
 public static bool CanAddObject()
 {
     return(AutorizationRulesControler.CanAddObject(Resources.SecureItems.REGISTRO));
 }
Exemple #4
0
 public static bool CanGetObject()
 {
     return(AutorizationRulesControler.CanGetObject(Resources.SecureItems.FACTURA));
 }
Exemple #5
0
 public static bool CanEditObject()
 {
     return(AutorizationRulesControler.CanEditObject(Resources.SecureItems.AUXILIARES) ||
            AppContext.User.IsAdmin);
 }