Update gitignore
Add the adapter for the local roles
Add tests for the local role adapter