• Nicholas

    (@nsideras)


    I recently set up a WordPress Multisite install, and one of my sites requires a non-Super Admin to approve user registrations. In my research I came across the EDIT_ANY_USER flag and the related enable_edit_any_user_configuration filter, but it appears that this no longer functions in WordPress 3 and up. (Though if this is the case, I’m confused as to why the code still checks for the flag.)

    I’m wondering if there is a way to somehow still enable user editing for non-Super Admins (or at least allow the approval of user registrations). If not, I ultimately need some way to gather information from site visitors, and then give them some sort of unique login and/or password to download files. Perhaps there is a plugin that allows non-WP based user authentication?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Tim Moore

    (@tmoorewp)

    Site administrators should be able to manage users for their own sites as-is. They can add/edit users.

    However, if you are using the built-in functions so that users can create accounts themselves, site admins can not touch those (and shouldn’t be allowed to, ever, because then they’d be able to mess with users on other blogs than their own).

    Do you have a defined set of users that need access? You could set up a request form and manually create accounts as they get approved.

    I ultimately need some way to gather information from site visitors, and then give them some sort of unique login and/or password to download files.

    If they are signed up as a user to a particular site, there’s plenty of plugins out there for downloads for registered users only.

    Thread Starter Nicholas

    (@nsideras)

    Site administrators should be able to manage users for their own sites as-is. They can add/edit users.

    That was my understanding, but this doesn’t seem to be the case. If I log into a site as a user in the Administrator role, I do have an “Add New” option under the Users menu. Rather than allow a new user to be added, however, it takes you to a form that is really nothing more than an invite to current multisite network users. There does not seem to be any way for a site administrator to add a user that is completely new to the network.

    Thread Starter Nicholas

    (@nsideras)

    Andrea – I missed your comment before. I do have one of those plugins, but the problem is that I need a non-Super Admin to approve user registrations. If this isn’t possible in a secure way with WordPress (which very well might be the case), I’m envisioning a plugin that has “user accounts”, but they are only used for the file downloads. These accounts wouldn’t really log in to anything beyond authenticating the download, and would be completely separate from WordPress users, thus obviating any security issues. Of course, this approach could open a whole new can of worms, so I’m hesitant to go down that path.

    A possible solution is to create a non-Super Admin role, say ‘User-Admin’, and define user management capabilities for it using a plugin like User Role Editor or similar.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘EDIT_ANY_USER Functionality in 3.1.2’ is closed to new replies.