Add permission and errors