Commit Graph

30 Commits (c69eda0ed372106df15930f8846d4d6c9d4c2654)

Author SHA1 Message Date
Luka Vandervelden e8ace8a6eb Fixes an error client. 2019-12-19 03:58:00 +01:00
Luka Vandervelden b5c055b553 Major update that includes various breaking changes.
- backend is now a DODB::DataBase, not a passwd and group file anymore.
- extras have been removed. A WIP User#profile field exists, that can be
  a JSON::Any. No profile validation has been implemented as of this
  commit.
- authd now provides permission over resources, which is more precise
  than checking whether a user is part of a group.
- permissions are now checked through authd once again: tokens don’t
  hold permissions anymore.
- tokens are now minimal authentication “keys” to prove who you are and
  nothing more.
2019-12-15 23:38:49 +01:00
Luka Vandervelden 9dc39ace09 WIP for an administration panel. 2019-12-09 21:57:38 +01:00
Luka Vandervelden a2d633f4fb Password updates and matching LS updates. 2019-12-07 23:57:40 +01:00
Luka Vandervelden 4b7caff906 GetExtra, SetExtra, and matching LS updates. 2019-12-07 21:09:17 +01:00
Luka Vandervelden 3c203a2e48 Removes useless param from Request::Register.new 2019-12-07 18:08:33 +01:00
Luka Vandervelden 9ae887071e Registration requests if started with -R. 2019-12-07 00:53:31 +01:00
Luka Vandervelden 16fa2271f6 Grooming. 2019-11-23 01:08:05 +01:00
Luka Vandervelden 565ee93c9a Grooming. 2019-11-22 23:13:34 +01:00
Luka Vandervelden 2e5135656c Overhauled response types. 2019-11-22 22:55:12 +01:00
Luka Vandervelden 297471b504 Grooming. 2019-11-22 18:14:52 +01:00
Luka Vandervelden 32a8c23524 Grooming. 2019-11-22 17:31:56 +01:00
Luka Vandervelden 7798d119ed Grooming, preparing for split. 2019-11-17 15:50:26 +01:00
Luka Vandervelden a5247fd9f0 Imposed authentication on a few requests. 2019-10-10 20:58:44 +02:00
Luka Vandervelden 3038e7d076 Missed IPC.cr update.
Duh~, hopefully we’ll soon have automated tests.
2019-06-29 02:43:31 +02:00
Luka Vandervelden 908f028322 Update to new crystal-jwt APIs. 2019-06-28 18:20:34 +02:00
Luka Vandervelden 66e2eaad48 IPC.cr API updates. 2019-06-06 01:16:52 +02:00
Luka Vandervelden 96134ba876 libipc API updates. 2019-06-05 22:38:08 +02:00
Luka Vandervelden d7f54062fc Updates for new libipc APIs. 2019-06-05 22:30:29 +02:00
Luka Vandervelden c642851165 Avatar update through ModUserRequest. 2019-05-29 19:45:03 +02:00
Luka Vandervelden 6a19ff604a ModUser request. 2019-05-29 16:06:11 +02:00
Luka Vandervelden 87b90c1768 AuthD::Client#get_user?(login, password) added. 2019-02-16 22:06:56 +01:00
Luka Vandervelden 1f85aab84c GetUser requests. 2019-01-08 01:04:20 +09:00
Luka Vandervelden ddb8edacbb Coding style. 2018-12-19 21:57:48 +09:00
Luka Vandervelden a7a1c54161 WIP registration. 2018-12-19 21:54:19 +09:00
Luka Vandervelden 313536f996 Variable naming.
Some breaking changes in the communications with authd (some request
attributes renamed), but projects using AuthD::Client shouldn’t see
anything.
2018-12-17 12:39:01 +09:00
Luka Vandervelden 6a008daf87 Crecto replacement.
Replaced by a `passwd` and `group` files reader that both follow UNIX
format. Only difference with a live system will be the password hash
field, which is stored in `passwd` instead of a dedicated `shadow` file
(and which is likely encoded differently).
2018-12-17 08:56:03 +09:00
Luka Vandervelden 621135ce5a Finished conversion to a libIPC-based microservice. 2018-11-13 02:51:21 +09:00
Luka Vandervelden ee69c365ba User -> AuthD::User, authd_user : AuthD::User 2018-09-22 21:42:21 +02:00
Luka Vandervelden db209117f8 Authd library added to provide an auto-check middleware. 2018-09-22 21:25:03 +02:00