Open reidab opened 9 years ago
# rails console
# List the users – I'm assuming there aren't any/many at this stage
pp OpenConferenceWare::User.pluck(:id, :email)
# Update the initial users who you want as admins
OpenConferenceWare::User.where(:id => [2,3]).update_all(admin: true)
In a production environment, or if the 'development' auth mechanism is disabled, there's no documented path to grant admin rights to an initial user.