Commit graph

2198 commits

Author SHA1 Message Date
Jan Böhmer
2554120e6e Improved DatatablesAvailabilityTest 2022-11-27 16:39:45 +01:00
Jan Böhmer
cd9a303644 Improved ApplicationAvailabilityFunctionalTest 2022-11-27 16:35:44 +01:00
Jan Böhmer
51d3934e9f Improved failure message of AvailabilityFunctionalityTest 2022-11-27 16:16:22 +01:00
Jan Böhmer
960dbdf6f6 Fixed permissions fixtures loading. 2022-11-27 16:11:20 +01:00
Jan Böhmer
adde39de9f Updated yarn dependencies. 2022-11-26 22:58:34 +01:00
Jan Böhmer
e0d7fb7517 Updated composer dependencies. 2022-11-26 22:54:53 +01:00
Jan Böhmer
c6ad14d641 Show a more helpfull error message on login when a user is disabled.
Before a generic invalid credentials message was shown, now a hint about the disabled status is shown.
2022-11-15 00:25:56 +01:00
Jan Böhmer
59ec215b12 Added an console command to enable/disable many users at once. 2022-11-15 00:18:39 +01:00
Jan Böhmer
27709bed60 Show the disabled status of a user in the users:list command 2022-11-14 23:58:38 +01:00
Jan Böhmer
37fde77b8e Show special icon in users menu when a user is locked 2022-11-14 23:52:10 +01:00
Jan Böhmer
a3aa8ec2ef Fixed error with loading the permissions.yaml file caused by moving of PermissionManager 2022-11-14 23:32:28 +01:00
Jan Böhmer
1c12174cd9 Fixed new permission migration for SQLite 2022-11-14 23:21:49 +01:00
Jan Böhmer
aabe3876a7 Improved migrations for MySQL 2022-11-14 23:12:18 +01:00
Jan Böhmer
21af37b8e7 Allow users to change the group of a user, when he is allowed to change permissions 2022-11-14 22:42:12 +01:00
Jan Böhmer
fd96f47952 Updated composer dependencies. 2022-11-14 20:30:55 +01:00
Jan Böhmer
6b9e0b415c Removed legacy PermissionEmbed class
It was used for the old permission saving system and is not needed anymore
2022-11-14 20:20:36 +01:00
Jan Böhmer
b0c027f805 Renamed PermissionResolver service to PermissionService 2022-11-14 20:15:06 +01:00
Jan Böhmer
131e9a2850 Fixed service parameters 2022-11-14 20:07:20 +01:00
Jan Böhmer
c5434ba842 Moved PasswordResetManager into Services\UserSystem namespace 2022-11-14 20:04:07 +01:00
Jan Böhmer
1e106a3da1 Moved TwoFactor services into Services\UserSystem namespace 2022-11-14 20:02:58 +01:00
Jan Böhmer
5a1d4251f4 Regrouped permissions
Datastructures and the part permission are now together in the "data" permission group.
2022-11-14 19:59:18 +01:00
Jan Böhmer
cd60a81576 Improved translations 2022-11-14 19:54:21 +01:00
Jan Böhmer
1de88e0494 Added various useful presets for permissions 2022-11-14 00:02:37 +01:00
Jan Böhmer
5829d42968 Fixed voters. 2022-11-13 21:01:40 +01:00
Jan Böhmer
ae4cb23b18 Removed timetravel permission
Now it is sufficient enough to have the show_history permission
2022-11-13 21:01:28 +01:00
Jan Böhmer
70120bdaa9 Make allow checkbox for permissions green 2022-11-13 18:44:51 +01:00
Jan Böhmer
e2875adc22 Fixed permission state explanation checkboxes rendering 2022-11-13 18:21:22 +01:00
Jan Böhmer
63a1855eb6 If a user can view parts, he is also allowed to view any subsequent datastructures.
Otherwise it is really difficult to implement permission correct part viewing.
2022-11-13 18:18:08 +01:00
Jan Böhmer
ffceb5abc5 Updated dependencies. 2022-11-09 23:40:42 +01:00
Jan Böhmer
41450b8bd3 Fixed access to typeahead controllers. 2022-11-09 23:33:50 +01:00
Jan Böhmer
5e06557cf0 Removed field permissions from Part edit page 2022-11-06 21:29:03 +01:00
Jan Böhmer
fc1af24ef9 Do not show Zend Extensions twice in server infos page 2022-11-06 14:45:24 +01:00
Jan Böhmer
c5df176cde Added icons on server info page 2022-11-06 14:44:44 +01:00
Jan Böhmer
8a3d765157 Hide search field in navbar if user does not have the permission to view parts. 2022-11-06 01:11:08 +01:00
Jan Böhmer
06ae136bae Hide "Show all entry" in tools sidebar if user does not have permissions to view parts. 2022-11-06 01:09:41 +01:00
Jan Böhmer
34fbcec00f Added an page to view infos about the server (Part-DB, PHP and DB config 2022-11-06 01:07:10 +01:00
Jan Böhmer
78d1dff40f Improved permission checking for certain controllers. 2022-11-05 23:49:53 +01:00
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