Commit graph

5 commits

Author SHA1 Message Date
Derek Schmidt
e4b0f4cff8
Added new user permissions into db
can_refer: Can create referal codes
can_upload: Can upload new files
can_manage: Can perform administrative duties

All false by default except for user 'admin'
2018-09-08 10:55:46 -07:00
Derek Schmidt
c7a9639a29
Change referal key from uuid to urlsafe token via secrets module
Also, added compare_type=True to migration env
to catch changes like this in the future

Other than that the title says it all buddy boi
2018-06-03 16:34:02 -07:00
Derek Schmidt
edbf1bff5c
Add user signup flow via user referal
gonna need a default user for this to work
2018-06-03 16:33:55 -07:00
Derek Schmidt
6a63b32f9b
Add user model
settings are no longer tracked due to containing a secret key.
get it from the env maybe?
2018-06-03 16:33:47 -07:00
Derek Schmidt
555f4f57e9
Add db capibilities
We can store and retrieve stuff now. Nice
2018-06-03 16:33:43 -07:00