Commit Graph

952 Commits (e6643365d21dbce7311729d09a3d8b7d19941e24)

Author SHA1 Message Date
Luciano Righetti 2d05f9228d add: some extra scopes and actions 2022-01-13 16:57:05 +01:00
Luciano Righetti c8fd8f4a62 add: add basic api coverage of inbox processor endpoint, extend openapi spec 2022-01-13 16:34:43 +01:00
iglocska f22b6ac487
Merge branch 'main' into develop 2022-01-12 10:33:19 +01:00
iglocska 87723c2100
fix: [ACL] added correct file for previous fix (user edit admin permission check) 2022-01-12 10:32:47 +01:00
iglocska 2e11d0b628
Merge branch 'main' into develop 2022-01-12 10:31:59 +01:00
iglocska 204c60f739
fix: [ACL] fixed ACL check on user edit for the admin permission
- invalid name used for the lookup (perm_side_admin instead of perm_admin) leading to incorrect downgrading of the permissions
2022-01-12 10:31:06 +01:00
Luciano Righetti 5906f6d2c7 add: add individuals api tests and extend openapi spec 2022-01-11 17:17:04 +01:00
Luciano Righetti f774f68ede add: add api tests for tags and orgs, extend openapi spec, fix routes for tags plugin 2022-01-11 12:33:34 +01:00
iglocska 229fd98b8e
fix: [migrations] correct string length to avoid strict mode issues with keys exceeding 767 bytes 2022-01-11 10:21:03 +01:00
Sami Mokaddem 4dedb4702b
new: [doc] Added slides about cerebrate and local tools synchronisations 2022-01-11 08:20:20 +01:00
Luciano Righetti 241e760ad2 add: add API menu option 2022-01-10 16:20:22 +01:00
Luciano Righetti b954e11064 add: add/edit operations api tests and openapi spec 2022-01-10 16:19:58 +01:00
Luciano Righetti 71072f60eb chg: extend openapi spec 2022-01-10 11:59:55 +01:00
Luciano Righetti ce1a51cc39 fix: incorrect check 2022-01-10 11:59:23 +01:00
Luciano Righetti 28650fa91c add: add users add/edit/delete api tests and openapi docs. 2022-01-10 11:58:52 +01:00
Luciano Righetti 6776789fdf new: add /api/v1/users/index api test 2022-01-07 17:08:00 +01:00
Luciano Righetti c14b84fcc0 chg: rename test files 2022-01-07 17:07:09 +01:00
Luciano Righetti 3923064d07 chg: migrate mysql.sql initial schema to a phinx migration 2022-01-07 14:37:04 +01:00
Luciano Righetti 5b3bef13e2 fix: test 2022-01-07 13:47:20 +01:00
Luciano Righetti a69608530c new: add /api openapi spec view with redoc, add faker to fixtures, validate api responses with openapi spec, add /api/v1/ prefix to api routes 2022-01-07 13:45:52 +01:00
Luciano Righetti f45727704f fix: deprecation warning 2022-01-05 17:44:24 +01:00
Luciano Righetti a473a9d3fb new: initial api and integration tests. 2022-01-05 17:44:02 +01:00
Andras Iklody 63af5d080f
Merge pull request #79 from righel/add-wait-for-it-script-docker
chg: wait for db before running migrations
2021-12-23 12:07:57 +01:00
iglocska 5043d63f0d
Merge branch 'main' into develop 2021-12-22 12:27:47 +01:00
iglocska 9801a71d17
Merge branch 'main' of github.com:cerebrate-project/cerebrate into main 2021-12-22 12:27:34 +01:00
iglocska 88a93cbca0
Merge branch 'develop' into main 2021-12-22 12:27:23 +01:00
iglocska aa23b3e293
Merge branch 'develop' of github.com:cerebrate-project/cerebrate into develop 2021-12-22 12:27:04 +01:00
iglocska 136148705a
chg: [keycloak] added screw to loosen timing issues 2021-12-22 12:26:37 +01:00
iglocska 58e32782ca
chg: misp connector index changes 2021-12-22 12:13:27 +01:00
Sami Mokaddem 30ec856dc3
fix: [local_tool:batchApiAction] Various UI and backend fixes 2021-12-21 12:36:36 +01:00
Sami Mokaddem 7f9418639e
fix: [main] Prevent setting listeners if dependencies are not loaded 2021-12-20 15:26:36 +01:00
Luciano Righetti ffac2ef78b fix: add missing copyright notice 2021-12-17 17:14:40 +01:00
Luciano Righetti 30700fc4e7 fix: typo 2021-12-17 14:07:07 +01:00
Luciano Righetti 9a0c025ca9 chg: clear cakephp cache 2021-12-17 13:20:02 +01:00
Luciano Righetti 16201369de chg: wait for db before running migrations 2021-12-17 12:39:18 +01:00
Andras Iklody f9b1c150c4
Don't ignore platform reqs in dockerfile 2021-12-17 10:56:21 +01:00
Sami Mokaddem e22068ec90
chg: [themes] Recompiled themes using dart-sass 2021-12-16 11:53:56 +01:00
Sami Mokaddem b9da619538
chg: [themes:packages] Replaced node-sass by dart-sass 2021-12-16 11:53:12 +01:00
iglocska 33057303b2
Merge branch 'develop' into main 2021-12-15 16:31:57 +01:00
iglocska bb3b264cfb
fix: [sharing group index] fixed members link 2021-12-05 00:02:33 +01:00
iglocska 5041a57e08
fix: [sharing groups] index members column fixed 2021-12-04 23:58:42 +01:00
iglocska 4c7dc85d0e
fix: [encryptions] fixed adding encryption keys 2021-12-01 15:24:08 +01:00
iglocska 332f374e01
chg: [sharing group index] add button now has the new checkaccess conditions applied 2021-12-01 14:26:20 +01:00
iglocska 1e31f4d1dd
new: [ACL Helper] check access for controller / action pair for given user
- accesible everywhere in the UI
2021-12-01 14:25:34 +01:00
iglocska e408f29a05
chg: [appcontroller] minor changes
- getRoleAccess now returns array format
- moved setting of view variables behind a rest check, to avoid additional unused actions for API queries
- current user's role access matrix passed to view via "roleAccess"
2021-12-01 14:24:32 +01:00
iglocska fbb1a52724
new: [ACL component] new functionalities
- getRoleAccess now returns either URLs or arrays
- array format allows for easy checking of controller + action pairs
2021-12-01 14:22:02 +01:00
iglocska 392faa60e4
new: [ACL] getRoleAccess endpoint added
- prints all valid URLs for the current user's role
2021-11-30 00:00:05 +01:00
iglocska c7d40d42c7
fix: [ACL] added missing entries 2021-11-29 23:37:41 +01:00
iglocska 22be309dc2
fix: [ACL] fix wildcard controller checks failing 2021-11-28 23:42:22 +01:00
iglocska 7fa0537cfd
fix: [encryption keys] only show valid options when creating keys as a user 2021-11-27 23:51:32 +01:00