#614 (ok 3.4) #3188444 (part 2) - DB-specific privileges and Ajax

Interface (183)

First of all, to reproduce the problem (I've been looking in all the wrong places first):
1. select a database
2. go to privileges tab
3. click edit privileges near a user
4. alter some privileges and click go.
5. the AJAX request is fired and the new privileges are saved, however the old privileges are still displayed in the overview table.

The actual problem is that the Javascript code that is in charge of updating the privilege values in the table looks for a form with id="usersForm", but there is no such form on the page in question (only found in the global privileges page). So the solution is to wrap the "user overview" table inside some relevant form tags.

Please find a patch attached that fixes this issue. I did some basic testing and it works fine.



  • Michal Čihař

    Michal Čihař - 2011-04-04

    Your patch was merged in the repository, thanks.

  • Michal Čihař

    Michal Čihař - 2011-04-04
    • priority: 5 --> 1
    • assigned_to: nobody --> nijel
    • summary: Fix bug #3188444 (part 2) - DB-specific privileges and Ajax --> (ok 3.4) #3188444 (part 2) - DB-specific privileges and Ajax
    • status: open --> open-accepted
  • Michal Čihař

    Michal Čihař - 2011-05-11
    • status: open-accepted --> closed-accepted

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks