Commit graph

120 commits

Author SHA1 Message Date
Joao Gilberto Balsini Moura
9d1f86972d Hide from users actions he/she cannot do 2020-09-15 05:47:19 -03:00
Joao Gilberto Balsini Moura
50fdc5f6f3 Ensure authorisation rules on properties liveviews 2020-09-14 22:12:52 -03:00
Joao Gilberto Balsini Moura
41d852b06a Add rules for authorising properties 2020-09-14 22:06:39 -03:00
Joao Gilberto Balsini Moura
068be8d583 Add property seeds 2020-09-14 22:06:10 -03:00
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