Well, first of all, thanks for your support. I could fix the problem of user permissions. I installed a brand new version of OTRS in another machine e copied group and roles tables to the broken version.
Now, I have a new problem! All tickets were unlocked! They returned to the queue unlocked. I have configured unlock and escalation properties to "0" (zero) but is was not enough.
Any idea?