Support » Plugin: Achievements for WordPress » Enable editors to award achievements?

  • Resolved allmyleagues

    (@allmyleagues)


    Hey Paul,

    Really enjoying this plugin on my site! I was wondering if there is a way to set a specific WordPress rank/role so they can manually award achievements to people. I would like to enable some of the people on my website to award achievements to others, but I don’t want to give them full administrative permissions. Is there a way to do this?

    Thanks for all your hard work on this plugin.

    Mark

    http://wordpress.org/plugins/achievements/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Paul Wong-Gibbs

    (@djpaul)

    It’s intended that Editors should be able to award achievements already. I’ll test as soon as I can to see if it is indeed broken. 🙂

    Thread Starter allmyleagues

    (@allmyleagues)

    Just following up on this one, Paul. I’ve tried awarding permissions from an editor account I created and it doesn’t seem possible. I think it has something to do with the fact that Editors by their nature don’t have access to edit the user database from the backend if I’m not mistaken. That’s my guess, but I’m sure you have more background knowledge of those things than I do.

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    …doh.

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    You’ve rightly identified the problem. I don’t know how I want to improve this at the moment, but it’s something I want to do in due course.

    Ideally admins can choose which roles (including custom roles) can award achievements.

    Looking forward to whatever solution comes up for this situation.

    Thread Starter allmyleagues

    (@allmyleagues)

    I may have a workaround for this. I downloaded and activated a plugin called “User Role Editor”. Using the User Role Editor, I enabled editors to “delete_users” and also enabled editors with the permissions for everything that included “achievements”. Editors are now able to award achievements on my site.

    There’s probably a better way to do this, but for now I believe this is a usable solution. Bear in mind that while this is a solution I’m using I am not recommending anyone else use it. I do not know the repercussions of the solution I suggested, so perhaps Paul or someone else can verify this as a safe solution or perhaps offer another option to make this work.

    The “delete_users” capability is not one I am prepared to enable for anyone. If someone accidentally deletes a user, that user is gone. Even “edit_users” is scary enough. Hence the issue with the current implementation. Turning on “award” capabilities through User Role Editor without giving Editors the capability to edit_users won’t do much as that is the UI for awarding at the moment. So I’m hanging out for a way around the need to edit anything on user accounts except un/award achievements.

    Plugin Author Paul Wong-Gibbs

    (@djpaul)

    Yep. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Enable editors to award achievements?’ is closed to new replies.