Creating "editor" user during installation

barraponto's picture

Panopoly provides, by default, an 'editor' role which I find myself using a lot. But using it means I have to guide the site administrator to create a user with the role editor. I thought it could better be handled by providing a form to create that user, next to the form that creates user 1.

And since user 1 usually sees a lot more than the site builder will ever need, I thought I could just finish the installation and log the user as editor.

How do I do that? Also, is it a good idea?


I was thinking the same

Iztok's picture

I was thinking the same thing! Creating a user should be easy, login-in not so.

You could check admin_menu code that is used for user switching. Maybe you could run this on first admin login?

Distribution profiles

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week