mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Internal renaming of elder,leader,regular,basic to numbers
Changed internals so trust levels are referred to with TrustLevel[1], TrustLevel[2] etc. This gives us much better flexibility naming trust levels, these names are meant to be controlled by various communities.
This commit is contained in:
@@ -49,7 +49,7 @@ def create_admin(seq)
|
||||
admin.password = "password"
|
||||
admin.save
|
||||
admin.grant_admin!
|
||||
admin.change_trust_level!(:regular)
|
||||
admin.change_trust_level!(TrustLevel[4])
|
||||
admin.email_tokens.update_all(confirmed: true)
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user