iglocska
33c5c8a9d9
fix: [error messages] improved for empty/malformed request bodies
...
- instead of failing on a validation level for empty data, fail immediately on CRUD component level
- send a clear message to the user that the request was malformed / the proper media type headers were not set
2024-08-29 06:49:28 +02:00
iglocska
4906cae0c7
fix: [crud] various minor fixes
2024-08-28 16:19:04 +02:00
iglocska
d4880e7b56
fix: [users] add load individual correctly and show it to the user
2024-08-28 16:13:32 +02:00
iglocska
5048c38ed6
fix: [CRUD] run afterfind even if no metatemplates set
2024-08-28 16:13:09 +02:00
iglocska
e39ece57c5
new: [meta_field] API improved
...
- simple way to add metafields added
- simply pass a list of meta_fields to the object about to be saved
- the only fields required are: template_uuid, template_version, field, value
Example for an individual:
```
{
"first_name": "Andras",
"last_name": "Iklody",
"email": "andras.iklody@circl.lu",
"alignments": {
"organisation": [
{
"uuid": "9d4d7913-2602-4333-8440-c78b7f92eca3",
"name": "Iglocska.eu"
}
]
},
"meta_fields": [
{
"field": "perm_mattermost",
"value": true,
"template_uuid": "447ded8b-314b-41c7-a913-4ce32535b28d",
"template_version": 2
}
]
}
```
2024-08-28 15:39:46 +02:00
iglocska
ccd4a8c624
new: [individuals] add individual auto-saves an alignment
...
- if a non community admin enrolls an individual, set the alignment by default
- this will prevent them from becoming uneditable
2024-08-28 15:38:53 +02:00
iglocska
566405a2a4
chg: [version] bump
2024-08-27 14:26:53 +02:00
iglocska
6270ae8e18
new: [metafield editor permission] added
...
- users/org admins/group admins/community admins can now only modify metafield data on any object if the permission is set for their role
- Since some communities use this for ACL to secondary tools, this will allow them to restrict who can modify them
2024-08-24 16:25:58 +02:00
iglocska
93e1af2218
chg: [version] bump
2024-08-22 15:24:44 +02:00
iglocska
db8ec4499b
new: [administration] allow group/org admins to edit individuals aligned to their managed orgs
...
- based on alignment
2024-08-22 15:22:58 +02:00
iglocska
ef2caed9c8
fix: [metafield limitation] fixes
...
- correctly show error messages on user creation when limits are hit
- fixed a bug that cause users from being uncreatable even due to a hit limitation, even if the current user wouldn't influence said limitation
2024-08-22 12:27:11 +02:00
iglocska
21d03ee585
fix: [community admin] fixes
2024-08-22 12:26:24 +02:00
iglocska
80b3c0123d
fix: [ACL component] fixes
2024-08-22 12:25:35 +02:00
iglocska
d12faba78f
new: [permissions] split of admin and community admin
2024-07-19 17:09:38 +02:00
iglocska
f1e3d99c9b
chg: [tag] bumped
2024-07-02 17:44:30 +02:00
iglocska
8ded51f733
chg: [permission limitations] free limitation count when user disabled
...
- Thanks to Elisabeth from BSI for reporting it
2024-06-18 14:55:21 +02:00
iglocska
2655241265
new: [extended logger] added
...
- Added more information about the request to the stack traces
- logs user name / ID
- logs request x-forwarded-for
2024-06-18 13:39:38 +02:00
iglocska
fd9da66a9e
fix: [user add] fixed bug with metafields on new users causing an exception
2024-06-13 07:20:00 +02:00
iglocska
344a535467
chg: [version] bump
2024-06-07 14:48:27 +02:00
iglocska
8098e5b4f4
fix: [alignments] rules relaxed, fixes #164
...
- site admins can add alignments to anyone
- org admins can add alignments for their own org members
- group admins can add alignments for any of their managed orgs' members
2024-06-07 14:40:38 +02:00
iglocska
eabd56210a
fix: [authkeys] allow for authkeys with no expiration set, fixes #169
2024-06-07 14:04:24 +02:00
iglocska
7bbfb82e50
Merge branch 'main' into develop
2024-06-04 14:13:12 +02:00
iglocska
dee43d8d51
new: [metafield restrictions] not enforced on a user edit that doesn't change the state of the offending value
...
- if a user is already over the limit of a restriction, they should still be editable
2024-06-04 14:10:32 +02:00
Sami Mokaddem
761e5e9388
fix: [authkey:add] Make sure to default to expiration=0 if not provided
2024-05-23 15:48:05 +02:00
iglocska
ce8f30b4fe
chg: [version] bump
2024-05-15 14:25:38 +02:00
iglocska
da565f3f91
fix: [autkey expiration] has to be in the future
2024-05-15 14:24:01 +02:00
iglocska
8603b7da04
new: [settings] added the session settings to the UI
2024-05-15 13:15:33 +02:00
iglocska
4329b603a0
fix: [settings] make sure they are always loaded
2024-05-15 13:15:04 +02:00
iglocska
18b322400a
fix: [index pagination] caps the index at 100 elements
2024-05-15 11:32:23 +02:00
iglocska
c257673536
fix: [Group admins] can now edit org metainformation for the managed orgs
2024-05-15 11:22:35 +02:00
iglocska
b233241e87
fix: [group admin] be able to add users for the administered orgs
2024-05-15 11:11:44 +02:00
iglocska
6967c03d8b
new: [encryption key index] added search by org name / individual email
2024-05-14 15:18:31 +02:00
iglocska
b4aaf0f184
Merge branch 'develop'
2024-05-14 10:47:01 +02:00
iglocska
b2eb86d659
Merge branch 'main' of github.com:cerebrate-project/cerebrate
2024-04-09 12:43:52 +02:00
iglocska
4657feaf6e
fix: [keycloak] user enrollment now syncs permissions correctly
2024-04-09 12:42:43 +02:00
Sami Mokaddem
e9a79c54fc
Merge branch 'main' of github.com:cerebrate-project/cerebrate into main
2024-04-09 12:22:09 +02:00
Sami Mokaddem
c958f24190
fix: [setting:cerebrate] Enforce debug setting to be true or false
2024-04-09 12:21:39 +02:00
iglocska
91be9ddeda
fix: [keycloak] sync metafields on user creation
2024-04-09 12:21:24 +02:00
iglocska
63d1ec76eb
fix: [keycloak] increase fetch users limit to 99999
2024-04-09 12:20:52 +02:00
Sami Mokaddem
305274f636
fix: [component:CRUD] Make sure to append model alias when ordering results
2024-04-02 14:15:47 +02:00
Sami Mokaddem
96d53f4b6a
chg: [users:filtering] Added dropdown for users filtering
2024-04-02 14:06:25 +02:00
Sami Mokaddem
1111290cea
chg: [individuals:filtering] Added dropdown for organisation filtering
2024-04-02 14:02:03 +02:00
Sami Mokaddem
91cd9eb180
fix: [encryptionKeys:add] Make sure to compare owner_id with individual_id
2024-03-29 16:46:47 +01:00
Sami Mokaddem
3a3494df8c
fix: [encryptionKeys:ui] Aligned UI with what users can actually do
2024-03-29 16:33:33 +01:00
Sami Mokaddem
e111dacf17
fix: [app] Fixed some deprecation notices
2024-03-29 16:32:50 +01:00
Sami Mokaddem
4390face10
chg: [component:CRUD] Mirrored changes done in MISP3's CRUD component
2024-01-09 10:32:18 +01:00
Andras Iklody
d4eaeed045
Merge pull request #163 from cvandeplas/fix/SG
...
fix: [tool] fix uninitialised var when no SG exist
2023-12-20 11:45:22 +01:00
iglocska
26ec0b6edb
Merge branch 'develop'
2023-12-20 10:18:39 +01:00
iglocska
76b682e399
chg: [version] bump
2023-12-20 10:18:16 +01:00
Sami Mokaddem
ecc421b326
new: [settings:inbox.data_change_notify_for_all] Added setting to be more verbose for data changes
2023-12-13 15:01:23 +01:00