Closed anmol26s closed 9 years ago
Thanks for your callback. Actually, if you want to migrate an user to admin role, you have to follow this doc https://wiki.diasporafoundation.org/FAQ_for_pod_maintainers#What_are_roles_and_how_do_I_use_them.3F_.2F_Make_yourself_an_admin
can you please give command with example for this ?
I don't test it yet but it's like that :
sudo su - diaspora
RAILS_ENV=production bundle exec rails console
Role.add_admin User.where(username: "your_username").first.person
That worked Thanks!!
I added myself as admin while web installation. But after installation I have to sign up again and I am not the admin.
How can I add my self admin?