Commit graph

30 commits

Author SHA1 Message Date
7c5583fd61 switched to topbar from nprogress, to track phoenix 1.5.8 2021-02-24 11:46:13 -05:00
9194fdc36c updated mix deps and fixed texsts 2021-02-24 08:12:59 -05:00
f0c4438818 initialized .iex.exs 2021-02-24 07:56:05 -05:00
cd31432f88 changed project/app name 2021-02-24 07:49:39 -05:00
4fbafbfa5e Added secret imports to dev.exs, test.exs 2021-02-24 07:43:56 -05:00
7973fb2611 Update .gitignore 2021-02-24 07:29:24 -05:00
Joao Gilberto Moura
86991d0e17
Add article link to readme 2020-10-19 16:35:33 -03:00
Joao Gilberto Balsini Moura
c5aeeccd63 Add tests for force_logout feature 2020-09-28 20:55:00 -03: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
2564b1b727 Update tests to check new restrictions 2020-09-27 10:42:19 -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
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