Set users permissions fix