Commit graph

67 commits

Author SHA1 Message Date
cd31432f88 changed project/app name 2021-02-24 07:49:39 -05:00
Joao Gilberto Balsini Moura
b6524131c1 Add a way to force user logout
The idea is to remove the session and also disconnect all liveviews
2020-09-28 06:06:15 -03:00
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
57658a6857 Store user that created a property 2020-09-14 20:45:56 -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
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
4ad6d6e220 Create phoenix project 2020-09-12 19:47:24 -03:00