Suddenly the button for Edit is not displayed anymore and I can't edit the layout, I can edit the fields for the item but I need to edit the layout to actually see something, any ideas of what is causing this? I've been looking at different things for days now.
Edit: I think I figured it out, it may not have to do anything with permissions, it seems that the db was corrupted and the base templates lost their base fields (__Base template) and so a lot of stuff is broken, I've been trying to fix them but it seems to be a bit more complicated than I first thought and I may need to restore the database. I'll leave the question open until I confirm this is indeed the issue.
Final Edit: I managed to fix the database and that was indeed the main issue, once the base templates had the proper fields and values everything was back to normal (I still need to fix some stuff but main functionality is ok).