Commit Graph

28 Commits (b1f09dc97ee4dc270980cfa970b445b1eba7b833)

Author SHA1 Message Date
iglocska b1f09dc97e
new: [permission limitations] subsystem added
- add limitations for users with given meta fields
  - x number / org and y number / globally
- add comments to the limitations
- enforced on user creation/modification
2022-11-09 14:09:27 +01:00
iglocska 8dbbb21dff
chg: [users] add metafields behaviour 2022-10-31 13:38:31 +01:00
iglocska 84537c52f9
new: [user enrollment] send keycloak welcome email to users when enrolled 2022-10-25 10:57:18 +02:00
Sami Mokaddem a091edbf22
fix: [user:beforeSave] Only call the user-update callback if the user is not new 2022-10-21 09:00:49 +02:00
Sami Mokaddem 21403995e3
new: [user:edit] Added keycloak updates when a user gets modified 2022-09-21 10:11:09 +02:00
Sami Mokaddem 37094e0abb
fix: [user:validation] Allow user edition when `username` is not set 2022-09-21 10:10:02 +02:00
iglocska 5e0ab5cc38
new: [users] username validation added
- >5 && <50 in length required
- trim username to test to avoid whitespace names

- as reported by SK-CERT
2022-09-19 01:22:53 +02:00
iglocska 9a50a5693e
fix: [users] added uniqueness to usernames
- added upgrade script with removal of duplicate usernames
- added unique index to username field
- massaging the usernames before insertion (trim + lowercasing)

- As reported by SK-CERT
2022-09-19 01:12:14 +02:00
iglocska 033f6d7f97
fix: [typo] organisations != oganisations 2021-11-25 00:02:16 +01:00
iglocska c2cefb4311
fix: [user init] generation fixed 2021-11-24 23:59:34 +01:00
iglocska c7768921fb
fix: [user init] explicit uuid creation removed
- added behavior wherever it was missing
2021-11-24 23:32:17 +01:00
iglocska 716f6b1147
fix: [default user creation] explicitly create UUIDs 2021-11-24 23:24:04 +01:00
iglocska eb0a67327a
fix: [initial user] generation fixed
- requires a default organisation + org link now
2021-11-24 14:46:34 +01:00
iglocska e5e4e74cae
chg: [users] associated with orgs 2021-11-24 01:25:32 +01:00
iglocska 2e1ee2d064
new: [audit log] behaviour tied into the appropriate models 2021-11-17 15:43:52 +01:00
Sami Mokaddem 39f7a3f9e1
fix: [user] Added support of timestamp behavior 2021-10-21 11:33:41 +02:00
Sami Mokaddem 39fdb8ec0d
new: [user-settings] Added user settings feature 2021-10-08 10:27:40 +02:00
iglocska f60e411af1
new [keycloak]: WiP user enrollment added
- also moved the keycloak specific functionalities to a behaviour
- added new role permission (org admin)
2021-10-01 13:19:26 +02:00
iglocska efe3765609
new: [keycloak auth] wip version 1 added
- authenticate via keycloak (on demand only at the moment)
- check if user from JWT token exists
  - if yes:
    - check if role needs to be updated - do so if need be
    - check if organisation needs to be updated - (currently only captures, not aligned yet!)
  - if no:
    - create user
    - set role (if set, otherwise fall back to default configuration)
    - capture organisation - (currently not aligned yet!)
2021-09-24 01:48:50 +02:00
mokaddem b93dd49232 chg: [component:CRUD] Remove usage of custom header + added custom form
validation feedback
2021-01-12 10:16:58 +01:00
iglocska 9e05e667ec
fix: [password validation] don't accept linebreaks
- as reported by cert.sk
2020-11-20 11:16:57 +01:00
iglocska df02343448
fix: [passwords] several fixes
- complexity requirements added
- validation rules added
- added confirm password rules

- as reported by cert.pl
2020-11-06 10:07:25 +01:00
iglocska 0fbec5374c
fix: [default user] Added default first/lastname 2020-06-22 17:54:19 +02:00
iglocska e26c0d0958
fix: [typo] pluralise model name 2020-06-22 17:52:11 +02:00
iglocska 6f9a9ca236
fix: [internal] Correct way of fetching the ID of the new entity 2020-06-22 17:50:10 +02:00
iglocska e5e7feff35
fix: [import] of table registry added to users table 2020-06-22 17:47:11 +02:00
iglocska 0c6e88cdee
new: [init] added functions to create a default user 2020-06-22 17:45:00 +02:00
iglocska 44c60942c0
chg: [restructure] the application
- move the app dir's contents to the source
- update composer for easier installation
2020-06-22 14:28:17 +02:00