Skip to content
Snippets Groups Projects
Verified Commit 78f50faf authored by Felix Eckhofer's avatar Felix Eckhofer :man_dancing:
Browse files

Add note about giving rights to users

parent 2bcdf4bf
No related branches found
No related tags found
No related merge requests found
...@@ -105,6 +105,13 @@ By running `bin/rails <command>` you can trigger some helpful actions, such as ...@@ -105,6 +105,13 @@ By running `bin/rails <command>` you can trigger some helpful actions, such as
FetchConferenceDataJob.perform_now("38c3") FetchConferenceDataJob.perform_now("38c3")
~~~ ~~~
- Promote user to shiftcoordinator
~~~ruby
u = User.find_by(name:"username_here")
u.shiftcoordinator = true
u.save!
~~~
- Reset user password - Reset user password
~~~ruby ~~~ruby
pw = SecureRandom.alphanumeric(12) pw = SecureRandom.alphanumeric(12)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment