whole_func_string: function(rights) {
          var me = this
              ,o
  
          if(rights && me.mainWin) {
              if(!rights.add) {
                  o = me.mainWin.down("[action=add]")
                  if(o) o.ownerCt.remove(o)
                  o = me.mainWin.down("[action=formapply]")
                  if(o) o.ownerCt.remove(o)
                  o = me.mainWin.down("[action=formsave]")
                  if(o) o.ownerCt.remove(o)
              }
              
              if(!rights.del) {
                  o = me.mainWin.down("[action=remove]")
                  if(o) o.ownerCt.remove(o)
              }
  
          }
      }
func_code_string: function(rights) {
          var me = this
              ,o
  
          if(rights && me.mainWin) {
              if(!rights.add) {
                  o = me.mainWin.down("[action=add]")
                  if(o) o.ownerCt.remove(o)
                  o = me.mainWin.down("[action=formapply]")
                  if(o) o.ownerCt.remove(o)
                  o = me.mainWin.down("[action=formsave]")
                  if(o) o.ownerCt.remove(o)
              }
              
              if(!rights.del) {
                  o = me.mainWin.down("[action=remove]")
                  if(o) o.ownerCt.remove(o)
              }
  
          }
      }
func_documentation_string: Настройка интерфейса в соответствии с правами