Commit graph

166 commits

Author SHA1 Message Date
Joao Gilberto Balsini Moura
57658a6857 Store user that created a property 2020-09-14 20:45:56 -03:00
Joao Gilberto Balsini Moura
8d9da4ea40 Fix properties tests by logging user in 2020-09-14 13:52:17 -03:00
Joao Gilberto Balsini Moura
8e548cfa5a Add menu link for properties 2020-09-14 13:34:31 -03:00
Joao Gilberto Balsini Moura
465045bbb5 Add property related routes 2020-09-14 13:22:33 -03:00
Joao Gilberto Balsini Moura
4526435972 Run mix phx.gen.live properties 2020-09-14 13:22:25 -03:00
João Gilberto Balsini Moura
8590df5032 Add authorised routes with tests 2020-09-14 13:10:54 -03:00
João Gilberto Balsini Moura
37985ac1cf Add authorisation plug 2020-09-14 13:10:54 -03:00
João Gilberto Balsini Moura
626063ee76 Verify user on liveview mount 2020-09-14 13:10:46 -03:00
João Gilberto Balsini Moura
8fbeabc208 Place our index route under authentication 2020-09-14 07:35:58 -03:00
João Gilberto Balsini Moura
d0ab24b9e3 Add seeds to create user and admin 2020-09-13 06:54:08 -03:00
João Gilberto Balsini Moura
bda3f949b8 Add functions to add admins 2020-09-12 21:37:05 -03:00
João Gilberto Balsini Moura
33029dae04 Add roles to user 2020-09-12 21:14:06 -03:00
João Gilberto Balsini Moura
c9b43ac9b1 Run phx.gen.auth generator for creating users 2020-09-12 21:07:02 -03:00
João Gilberto Balsini Moura
0812ed5175 Add phx.gen.auth 2020-09-12 21:04:32 -03:00
João Gilberto Balsini Moura
4ad6d6e220 Create phoenix project 2020-09-12 19:47:24 -03:00
Joao Gilberto Moura
ee8a627034
Initial commit 2020-09-12 19:39:28 -03:00