NeDi Community

NeDi Software Specific => Definition Files => Topic started by: SgtCornMuffin on April 17, 2020, 10:32:45 am

Title: Cant edit .def files via GUI after 1.8 update.
Post by: SgtCornMuffin on April 17, 2020, 10:32:45 am
Hi,

After updating NeDi to 1.8 i can no longer edit the SysObjID on my devices via the NeDi GUI.

I can access the DefGenerator.

I get the following message:

Access Notice
You're not authorized for this!

On the files in SysObj:
# ls -l 1.3.6.1.2.1.33.def
-rwxrwxr-x 1 nedi apache 701 Apr 10  2018 1.3.6.1.2.1.33.def


And the module configuration in nedi.conf:'
ยจ
#============================================================================
# GUI Settings
#============================================================================

# Define the modules you wish to include in the menu and
# assign a group required for access
#       Section         Module                  Icon    Group
module  Devices         List                    dev     net
module  Devices         Modules                 cubs    net
module  Devices         Interfaces              port    net
module  Devices         Vlans                   vlan    net
module  Devices         Status                  sys     net
module  Devices         Config                  conf    net
module  Devices         Doctor                  info    net
module  Devices         Graph                   grph    net
module  Devices         Write                   wrte    adm

module  Assets          List                    list    oth
module  Assets          Management              pkg     mgr
module  Assets          Locations               home    oth
module  Assets          Loced                   ncfg    mgr

module  Topology        Table                   icon    net
module  Topology        Map                     paint   net
module  Topology        Routes                  rout    net
module  Topology        Multicast               cam     net
module  Topology        Spanningtree            traf    net
module  Topology        Networks                net     net
module  Topology        Links                   link    net
module  Topology        Linked                  ncon    mgr

module  Nodes           List                    nods    dsk
module  Nodes           Status                  node    dsk
module  Nodes           Toolbox                 tool    dsk
module  Nodes           RogueAP                 wlar    dsk
module  Nodes           Traffic                 tap     dsk
#module Nodes           PBX                     sms     dsk
#module Nodes           Create                  kons    adm

module  Reports         Devices                 ddev    net
module  Reports         Modules                 dcub    net
module  Reports         Interfaces              dif     net
module  Reports         Networks                dnet    net
module  Reports         Nodes                   dnod    dsk
module  Reports         Monitoring              dwrn    mon
module  Reports         Combination             dadd    mgr
module  Reports         Custom                  dcus    mgr


module  Monitoring      Health                  hlth    mon
module  Monitoring      Map                     map     mon
module  Monitoring      Events                  bell    mon
module  Monitoring      Timeline                news    mon
module  Monitoring      Incidents               bomb    mon
#module Monitoring      Master                  trgt    mon
module  Monitoring      Setup                   bino    adm

module  System          NeDi                    radr    mgr
module  System          Files                   file    adm
module  System          Database                db      adm
module  System          Services                cog     adm
module  System          Snapshot                foto    adm

module  User            Profile                 user
module  User            Management              ugrp    adm
module  User            Chat                    say
module  User            Logout                  exit

module  Other           Noodle                  find    oth
module  Other           Defgen                  geom    adm
module  Other           Calculator              calc    net
module  Other           Info                    php     oth
#module Other           Flower                  fan     oth
module  Other           Converter               hat2    oth
module  Other           Invoice                 cash
#module Other           Nagios                  cinf    oth


Best Regards
Andreas
Title: Re: Cant edit .def files via GUI after 1.8 update.
Post by: rickli on April 24, 2020, 12:16:49 pm
It has been renamed to match other editors within NeDi. So change:

module  Other           Defgen...

to

module  Other           Defed...
Title: Re: Cant edit .def files via GUI after 1.8 update.
Post by: tristanbob on June 02, 2020, 06:29:56 pm
I ran into this same problem.  Changing that line in nedi.conf fixed this for me.
Title: Re: Cant edit .def files via GUI after 1.8 update.
Post by: rickli on June 05, 2020, 09:47:07 am
I try to avoid those changes, but I wanted to make all editors look the same, like loced and linked etc.