I think the refactoring is over :-) I need to add specifec events that will allow plugins to define their own roles inside the hierarchy.
Otherwise, the graphical part needs some improvment, actually it's not really pretty :p
Work in progress. I've moved permissions management to the new dedicated page. Adding permissions is working but deleting ones. I must also filter the list of users available when creating a super admin because the default admin appears inside :p
This is not finished yet. More work than what I expected but the main part is done.
It will need a lot of testing... There is still a bug when activating a new extension
in development mode (ie. with python web server), I think it does not occur behind
a real web server.