mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
Make the first user as admin,user with id =1
This commit is contained in:
parent
f6e60823a7
commit
817861a5e4
3 changed files with 9 additions and 13 deletions
11
README.md
11
README.md
|
|
@ -77,14 +77,9 @@ bundle exec rake db:seed
|
|||
|
||||
7. Connect to osem.example.org and register your first user. Make also sure that Postfix is installed and configured on the system for the confirmation mail to pass through.
|
||||
|
||||
<!-- 8. To make the first registered user an admin:
|
||||
```
|
||||
rails console
|
||||
User.all
|
||||
me = User.find('1')
|
||||
me.role_ids=[3]
|
||||
``` -->
|
||||
8. Login as Admin with email:admin@opensuse.org and password:admin1234
|
||||
8. Just sign up as a new user and you will be automatically assigned as admin role.
|
||||
|
||||
|
||||
|
||||
Caveats
|
||||
=======
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue