Jan Böhmer
|
b0c027f805
|
Renamed PermissionResolver service to PermissionService
|
2022-11-14 20:15:06 +01:00 |
|
Jan Böhmer
|
1de88e0494
|
Added various useful presets for permissions
|
2022-11-14 00:02:37 +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
|
a30b67e328
|
Allow to change all permissions at once via the console command.
|
2022-11-05 23:20:26 +01:00 |
|
Jan Böhmer
|
10a035fcea
|
Reset the permissions of the admin user.
|
2022-10-31 21:54:46 +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
|
51e05a8669
|
Use typed properties
|
2022-09-18 22:59:31 +02:00 |
|
Jan Böhmer
|
639829f5c5
|
Fixed some inspection issues.
|
2022-08-14 19:32:53 +02:00 |
|
Jan Böhmer
|
d0b1024d80
|
Fixed code style.
|
2020-08-21 21:36:22 +02:00 |
|
Jan Böhmer
|
ae75e6844f
|
Fixed coding style.
|
2020-04-10 13:05:08 +02:00 |
|
Jan Böhmer
|
5a733b3261
|
Removed left over dump() from debugging.
Should fix issue #35.
|
2020-04-06 18:15:45 +02:00 |
|
Jan Böhmer
|
a28e81065f
|
Fixed some more psalm issues.
|
2020-03-29 23:36:53 +02:00 |
|
Jan Böhmer
|
fd61c8d9e2
|
Fixed coding style.
|
2020-03-15 13:56:31 +01:00 |
|
Jan Böhmer
|
9e8771a4ee
|
Changed license to AGPL3+
|
2020-02-22 18:14:36 +01:00 |
|
Jan Böhmer
|
da72f5b3ec
|
Fixed PHPstan issues for level 5.
|
2020-02-01 19:42:28 +01:00 |
|
Jan Böhmer
|
dd1f806c4e
|
Fixed some issues detected by PHPstan.
|
2020-02-01 17:00:03 +01:00 |
|
Jan Böhmer
|
f861de791f
|
Applied code style rules to src/
|
2020-01-05 15:46:58 +01:00 |
|
Jan Böhmer
|
9a7223a301
|
Fixed code style.
|
2020-01-04 20:24:09 +01:00 |
|
Jan Böhmer
|
e557bdedd5
|
Added an PHP CS fixer config file and applied it to files.
We now use the same the same style as the symfony project, and it allows us to simply fix the style by executing php_cs_fixer fix in the project root.
|
2019-11-09 00:47:20 +01:00 |
|
Jan Böhmer
|
787e498586
|
Updated copyright headers.
|
2019-11-01 13:40:30 +01:00 |
|
Jan Böhmer
|
7390f2eccd
|
Allow to change the permissions for users.
|
2019-09-10 17:12:56 +02:00 |
|
Jan Böhmer
|
408d98c6e1
|
Added database migration for new entities.
|
2019-08-12 18:04:53 +02:00 |
|
Jan Böhmer
|
943d235b8b
|
Added some unit tests.
|
2019-03-26 23:34:40 +01:00 |
|
Jan Böhmer
|
22c836096e
|
Use ContainerInterface from DependencyInjection Component
This enables better autocomplete.
|
2019-03-21 14:15:05 +01:00 |
|
Jan Böhmer
|
96214bffc4
|
Cache the parsed permission file. This should improve the performance a bit.
|
2019-03-21 13:43:13 +01:00 |
|
Jan Böhmer
|
e2f7aafa2d
|
Used PHP_CS_Fixer with symfony preset on codebase.
|
2019-03-20 23:16:07 +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
|
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 |
|