Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default to site default role #42

Merged
merged 5 commits into from
Oct 23, 2024
Merged

Conversation

andrewlimaza
Copy link
Collaborator

  • ENHANCEMENT: Added the ability to create the pmpro_role_<<level_id>> when we detect the level doesn't have this role created and not only on initial level creation.
  • ENHANCEMENT: If no role is selected for a level, it automatically selects the sites default user role and doesn't create the custom role anymore.

All Submissions:

* Updated: default to site role if no role is selected.
@andrewlimaza
Copy link
Collaborator Author

Resolves: #31

@andrewlimaza
Copy link
Collaborator Author

This also resolves some issues with PMPro 3.0+

@andrewlimaza andrewlimaza merged commit b744c2e into strangerstudios:dev Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants