Commit graph

41 commits

Author SHA1 Message Date
Jan Böhmer
fc6643bd6f Added system to restrict permissions based on API token level 2023-08-28 21:20:59 +02:00
Jan Böhmer
8fe3f4cf5c Added permissions to control access to API and manage API tokens 2023-08-26 22:57:50 +02:00
Jan Böhmer
1fb334b0ca Show a notification on homepage and server info page if there is a new version available. 2023-08-04 23:49:26 +02:00
Jan Böhmer
b3b205cd6e Added permissions to control access to info providers and oauth tokens 2023-07-16 20:33:24 +02:00
Jan Böhmer
d20153c569 Added basic logic for impersonation 2023-07-04 00:31:13 +02:00
Jan Böhmer
bd5ee837f4 Added permissions for importing data 2023-03-13 21:51:56 +01:00
Jan Böhmer
769850cec6 Added the IC logos tools from the old Part-DB version 2023-01-12 00:14:31 +01:00
Jan Böhmer
04b660d777 Finished builtin footprints viewer tool. 2023-01-09 23:40:54 +01:00
Jan Böhmer
7b6a906d98 Renamed "devices" permission to "projects" 2023-01-08 20:10:58 +01:00
Jan Böhmer
ec9dcb7975 Undone a change needed for testing. 2023-01-08 00:36:11 +01:00
Jan Böhmer
7aa88a8dbd Automatically upgrade permission version schema in the background when needed on a request. 2023-01-08 00:35:43 +01:00
Jan Böhmer
60d5776cb7 Added permission to control if a user is allowed to withdraw/add/move parts 2023-01-07 21:23:36 +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
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
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
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
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
36dfae52f2 [ReelCalculator] Added permission and added it to tools menu. 2020-06-03 22:19:59 +02:00
Jan Böhmer
9a9cd8e887 Added permission to control who can access label scanner. 2020-05-08 12:50:44 +02:00
Jan Böhmer
0f083abdf4 Added permissions to show history of and revert label profiles. 2020-05-07 22:35:29 +02:00
Jan Böhmer
1a35adab17 Added permission system, to control who can edit Twig labels. 2020-05-07 22:29:45 +02:00
Jan Böhmer
5a9be023b1 Added permissions to label system. 2020-05-04 23:21:58 +02:00
Jan Böhmer
e83d72ec10 Added a permission to control which users can access private attachments. 2020-03-30 16:56:58 +02:00
Jan Böhmer
f8af23b92b Implemented permission system for part parameters. 2020-03-26 13:09:25 +01:00
Jan Böhmer
28eade1c3a Fixed exception when setting permissions. 2020-03-07 22:54:07 +01:00
Jan Böhmer
081308d897 Fixed exception when setting permissions. 2020-03-07 22:46:06 +01:00
Jan Böhmer
8a61b465d0 Check permissions for time travel and element undo. 2020-03-07 20:49:52 +01:00
Jan Böhmer
1f005b25f7 Set useful default permission values for the default groups, when migrating. 2019-09-13 19:04:48 +02:00
Jan Böhmer
da14ee942d Added permissions for the new functions. 2019-09-13 17:13:58 +02:00
Jan Böhmer
2c866186b0 Check permission when changing permissions for users. 2019-09-11 17:00:03 +02:00
Jan Böhmer
ac302ab16a Allow to specify operations that also need to be set.
When the edit operation is set, the read permission is now set too.
2019-09-11 13:37:51 +02:00
Jan Böhmer
55983102ed Added translations for permissions. 2019-09-10 23:28:08 +02:00
Jan Böhmer
8b8afb63f6 Added labels to permissions. 2019-09-10 18:35:24 +02:00
Jan Böhmer
7390f2eccd Allow to change the permissions for users. 2019-09-10 17:12:56 +02:00
Jan Böhmer
943d235b8b Added some unit tests. 2019-03-26 23:34:40 +01:00
Jan Böhmer
6ed2eeabae Check for permissions before showing user infos or allow the user to change its own infos. 2019-03-19 18:36:05 +01:00
Jan Böhmer
b9cd2fcc7f Added all permissions from legacy Part-DB. 2019-03-19 17:48:51 +01:00
Jan Böhmer
01e1f27b68 Added a simple Voter for checking, if a user is allowed, to view/edit/create a part. 2019-03-18 19:05:41 +01:00