Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

At the moment, users with role "Author" can only view but not add or edit polls. "Editor" and "Administrator" (site administrator) can add and edit polls however.

This is despite the fact that I have explicitly assigned "manage_polls" capability to "Author". I've tried both Advanced Access Manager 1.6.8 and User Role Editor 3.8.1 plugins which claim that they support WordPress multisite. Still, "Author" can't add or edit polls.

I'm using WordPress 3.3.1 multisite. I strongly believe this has to do with multisite because "edit_users" capability does not work as it appears - How to enable a site administrator to edit users in a WordPress network/ multisite setup?

Is this a PollDaddy's plugin bug or WordPress multisite's bug or is there any way I can enable "Author" to add/ edit polls with PollDaddy plugin?

share|improve this question
add comment

1 Answer

Open the file "polldaddy.php" and look near the first few dozen lines for this:

$this->is_admin               = (bool) current_user_can( 'manage_options' );

Change that to

$this->is_admin               = (bool) current_user_can( 'edit_posts' );

That would in theory grant authors and above the same access as an admin - you have to test yourself to be sure. See the admin_menu() function for where the menus are set up along with required permission levels.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.