Skip to content

Conversation

@ryskajakub
Copy link

Hi, I added fourth login mode, that enables the user to map groups to roles, for example

  • Joe is in crowd group admins
  • Bob is in crowd group writers

There are mappings in wordpress:

  • from admins to Administrator
  • from writers to Conributor,

then, when the users log for the first time, they get assigned the role based on the mapping, that the admin of wordpress set in the plugin administration. For this example, that means, that

  • Joe will be Administrator
  • Bob will be Contributor

I also formatted some code along the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant