On Fri, 22 Aug 2008 16:53:07 +0200 Stein Magnus Jodal stein.magnus.jodal@uninett.no wrote:
UPDATE accountgroupprivilege SET target = '^/(preferences|status|navAdmin|report|browse|stats| cricket|machinetracker|ipinfo|l2trace|logger|alertprofiles| ipdevinfo)/?' WHERE target = '^/(preferences|status|navAdmin|report|browse|stats| cricket|machinetracker|ipinfo|l2trace|logger|alertprofiles)/?';
Is that link to the newer stuff intended? If so, how should we correct the permissions problem?
Let's just correct the permissions problem. I'm about to update the SQL scripts, so we won't forget this for NAV 3.5.0. Please do file a bug report on this. A bug report would help us remember to include the permissions fix if a 3.4.3 release comes before 3.5.0.
The simplest way (and least intrusive) way of adding the permission to a running NAV installation is to add a new web_access privilege to the following regex pattern: ^/ipdevinfo/?
That is also the only useful way to automatically update the permissions while upgrading to the next release, Stein Magnus. Upgrades should not touch existing privileges, only add new ones.