{"action":"opened","issue":{"url":"https://api.github.com/repos/heiglandreas/authLdap/issues/69","labels_url":"https://api.github.com/repos/heiglandreas/authLdap/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/heiglandreas/authLdap/issues/69/comments","events_url":"https://api.github.com/repos/heiglandreas/authLdap/issues/69/events","html_url":"https://github.com/heiglandreas/authLdap/issues/69","id":103034463,"number":69,"title":"Manual control of Wordpress Roles?","user":{"login":"wunc","id":11369963,"avatar_url":"https://avatars.githubusercontent.com/u/11369963?v=3","gravatar_id":"","url":"https://api.github.com/users/wunc","html_url":"https://github.com/wunc","followers_url":"https://api.github.com/users/wunc/followers","following_url":"https://api.github.com/users/wunc/following{/other_user}","gists_url":"https://api.github.com/users/wunc/gists{/gist_id}","starred_url":"https://api.github.com/users/wunc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wunc/subscriptions","organizations_url":"https://api.github.com/users/wunc/orgs","repos_url":"https://api.github.com/users/wunc/repos","events_url":"https://api.github.com/users/wunc/events{/privacy}","received_events_url":"https://api.github.com/users/wunc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-25T14:27:25Z","updated_at":"2015-08-25T14:27:25Z","closed_at":null,"body":"The current behavior with authLdap 1.4.8 on WordPress 4.3 is:\r\n\r\n1. A new User logs in via LDAP and they are added with the \"Default Role\" as defined in the authLdap settings\r\n2. An administrator manually changes that user's role to something else\r\n3. The next time that user logs in, their role is reset to \"Default Role\"\r\n\r\nI cannot find a way to manually control (via WP dashboard > Users > edit) the WP roles of users that are authenticated via LDAP. They always revert to the \"Default Role\" on login. I do not want to map LDAP Groups to WP roles, as I do not have access to change their LDAP groups, so I have unchecked that option in the authLdap settings.\r\n\r\nIs this intended behavior? Is there a way to disable step 3 above? Can we make \"Default Role\" only for _new_ users, not existing ones?"}}