Commit Graph

20 Commits

Author SHA1 Message Date
kolaente 26386be9a9
Add auth param to all methods 2021-01-31 21:10:03 +01:00
kolaente 588abb7370
Close all sessions in a defer 2020-12-23 15:34:20 +01:00
kolaente a897a6def6
Close all sessions after using them 2020-12-22 17:12:34 +01:00
kolaente 6fa2fb5872
Add db sessions to all crud methods 2020-12-22 15:46:43 +01:00
kolaente 8767618f18
Only set the max right header if the user has any right at all 2020-08-09 17:48:28 +02:00
kolaente 7e12686f28
Add rights parameter to let canRead methods return the max right 2020-08-09 17:07:10 +02:00
kolaente c906493694
Add more logging 2020-02-08 22:44:21 +01:00
kolaente 9947104b77
Add error logging for invalid model errors 2020-01-26 20:07:57 +01:00
kolaente b5c16e24b0
Swapped the custom param binder with the merged one from echo 2019-06-28 09:10:27 +02:00
konrad edb39812af
Updated echo to v4 2019-05-07 21:37:36 +02:00
kolaente 7dc1f4191c
Fixed rights check 2019-03-29 18:09:35 +01:00
konrad 62b466dd13
Refactored CanRead to check the right before reading it 2019-03-24 13:30:58 +01:00
konrad 0933ac0823
Refactored Rights interface to return errors 2019-03-24 11:52:29 +01:00
konrad e1854c265e
Merge remote-tracking branch 'origin/master'
# Conflicts:
#	handler/create.go
#	handler/delete.go
#	handler/helper.go
#	handler/read_all.go
#	handler/read_one.go
#	handler/update.go
2019-03-24 08:57:58 +01:00
konrad fcaf01fb20
Refactored config 2019-03-24 08:55:30 +01:00
kolaente 83337a24ac
Fixed logging the current user if forbidden 2019-01-23 15:21:21 +01:00
kolaente b4a943dba1
Added helper function to get logger 2019-01-23 15:19:02 +01:00
konrad ec954ac350
Added license 2018-12-01 00:10:43 +01:00
konrad 8bf729ca52
updated path 2018-11-30 23:16:30 +01:00
konrad 4c49b0fe6d
initial commit 2018-11-30 22:36:20 +01:00