Commit graph

2261 commits

Author SHA1 Message Date
Jan Böhmer
a30b67e328 Allow to change all permissions at once via the console command. 2022-11-05 23:20:26 +01:00
Jan Böhmer
3fbc72600f Allow to edit user permissions via console command 2022-11-05 23:07:28 +01:00
Jan Böhmer
563ad21125 Added console command to view permissions of a user 2022-11-05 22:30:46 +01:00
Jan Böhmer
2f9e9c5279 Made the access to an attachment depending on the access rights of the associated elemenst 2022-11-02 23:27:44 +01:00
Jan Böhmer
676235a2d3 Fixed some exception about non existing part_attachments permission 2022-11-02 23:20:30 +01:00
Jan Böhmer
3e85fc4d42 Improved access control for part lists. 2022-10-31 23:10:21 +01:00
Jan Böhmer
d0f7949bc9 Hide trees in sidebar, if user does not have permission to show them (and protect the JSON endpoints) 2022-10-31 22:47:45 +01:00
Jan Böhmer
10a035fcea Reset the permissions of the admin user. 2022-10-31 21:54:46 +01:00
Jan Böhmer
f8aee65d9e Simplified the available permissions 2022-10-31 21:13:27 +01:00
Jan Böhmer
59ddf91527 Make PermissionData an embeddable so doctrine can properly track changes to the data array 2022-10-31 21:12:01 +01:00
Jan Böhmer
687ee80255 Save permissions as JSON in user/group entities. 2022-10-30 21:51:24 +01:00
Jan Böhmer
33f8d2ba9e Merge branch 'master' into permission_rework 2022-10-30 17:35:57 +01:00
Jan Böhmer
1013d2620d Updated dependencies. 2022-10-30 17:34:17 +01:00
Jan Böhmer
634d635c57 Updated symfony/security bundle recipe. 2022-10-22 22:13:20 +02:00
Jan Böhmer
e718e3c043 Updated doctrine-migrations recipe 2022-10-22 22:11:25 +02:00
Jan Böhmer
3c657ca959 Updated doctrine-bundle recipe 2022-10-22 22:07:57 +02:00
Jan Böhmer
6f7111f572 Updated webpack-encore recipe 2022-10-22 22:06:27 +02:00
Jan Böhmer
330f6b53ce Updated webpack encore 2022-10-22 22:03:27 +02:00
Jan Böhmer
8953f018b5 Update yarn depedencies.
This fixes the issue that search requests did not cause the url in navbar to update.
2022-10-22 21:57:30 +02:00
Jan Böhmer
86a51fc7b9 Do not use doctrine/dbal 3.5 (yet), as it has a bug with mariadb
It will always show the "sync-metadata-storage" issue.
2022-10-22 21:51:02 +02:00
Jan Böhmer
422b8d3f5d Updated composer dependencies. 2022-10-22 21:38:24 +02:00
Jan Böhmer
12f7cd9a8c Removed unnecessary git repo reference 2022-10-22 21:35:06 +02:00
Jan Böhmer
6051c86521 Fixed exception while login 2022-10-09 22:09:43 +02:00
Jan Böhmer
afaa918ce6 Check permissions to view parts on the parts list pagees 2022-10-09 22:01:44 +02:00
Jan Böhmer
0b83d0a0b0 Allow to unset the group of a user
Fetch EAGER seems to be buggy here, so fetch the group lazily
2022-10-09 21:50:56 +02:00
Jan Böhmer
e83f14f1ee Fixed exception when accessing user admin pagee 2022-10-09 21:14:00 +02:00
Jan Böhmer
34573bb5e6 Fixed exception when accessing the group admin page 2022-10-09 21:07:51 +02:00
Jan Böhmer
34d0381e83 Updated composer dependencies 2022-10-09 20:54:48 +02:00
Jan Böhmer
04d89b38b2 Allow null value during decoding of datetimes when time traveling
This should fix some exceptions occuring when viewing historic states of a part.
2022-10-09 20:52:52 +02:00
Jan Böhmer
9adebc35c5 Moved attachment_icon logic to attachment.macro.html.twig 2022-10-09 20:49:24 +02:00
Jan Böhmer
a01ed3acf6 Moved quick link logic into an macro 2022-10-09 20:39:51 +02:00
Jan Böhmer
74a563a75a Removed not needed template file 2022-10-09 20:32:34 +02:00
Jan Böhmer
38ff9bae4a Use common settings for all element history tables 2022-10-09 20:27:31 +02:00
Jan Böhmer
f50959837f Fixed issue that change of language via language selector did not changed the navbar and sidebar 2022-10-09 20:11:48 +02:00
Jan Böhmer
055752a24d Update the navbar on logout 2022-10-09 19:47:03 +02:00
Jan Böhmer
ed87f81a69 Try to fix template loading issue on linux 2022-10-05 23:24:42 +02:00
Jan Böhmer
f2a621e066 Fixed error page styling 2022-10-05 23:01:19 +02:00
Jan Böhmer
ff84fb8219 Improved error pages 2022-10-05 22:55:05 +02:00
Jan Böhmer
4c97c7bec2 New translations messages.en.xlf (English) 2022-10-05 22:50:43 +02:00
Jan Böhmer
6031ac699f New translations messages.en.xlf (Russian) 2022-10-05 22:50:42 +02:00
Jan Böhmer
f6e1d480fd New translations messages.en.xlf (Japanese) 2022-10-05 22:50:40 +02:00
Jan Böhmer
68acc6d69e New translations messages.en.xlf (French) 2022-10-05 22:50:37 +02:00
Jan Böhmer
7be34115d3 New translations messages.en.xlf (German) 2022-10-05 22:50:36 +02:00
Jan Böhmer
fefe36851e Removed not needed u2f-api package and upgraded yarn packages 2022-10-05 22:45:11 +02:00
Jan Böhmer
acd3ed1fc6 Updated composer dependencies 2022-10-05 22:42:38 +02:00
Jan Böhmer
27bf7c3be9 Merge branch 'webauthn_tfa' 2022-10-05 22:41:39 +02:00
Jan Böhmer
8fe01cf240 Prefer webauthn tfa over google auth if enabled. 2022-10-05 22:32:01 +02:00
Jan Böhmer
485ca2c388 Fixed unit tests 2022-10-05 22:30:05 +02:00
Jan Böhmer
8d9e229737 Improved translations 2022-10-05 22:28:31 +02:00
Jan Böhmer
5773073e8d Fixed unit tests 2022-10-05 22:21:34 +02:00