thomaspark / snowball

A WordPress plugin for making immersive longform articles
https://snowball.openhtml.org/
GNU General Public License v2.0
90 stars 24 forks source link

Are roles even real? #221

Closed noelforte closed 8 years ago

noelforte commented 8 years ago

First, I'm incredibly dumb for not catching that. Second, this is all in the name of The Triangle.

We run Members on our site: https://wordpress.org/plugins/members/. Awesome plugin, but the plugin does have the ability to rename and delete the default roles. I created a special set of roles that are more specific to our needs, but of course snowball blows up when it can't find a role that it's been asked to query.

I think this is the best solution going forward. If people are using members on their site, then snowball isn't going to work, so it might be best to just document the roles and capabilities so that people using snowball who might not have any of the default roles installed can add them manually. Until they do, they won't be able to access snowball, but I think that's what we (and the other Members users) get for messing with the defaults.

The alternative is a fatal crash, because without checking first, its assumed that all those roles exist.

Feel free to merge. :smile: