Details des Tickets

Beschreibung,Kommentare und Anhänge

merge request id 964
TitelLL-1745: Fix permission checks
BeschreibungHier war die Abfrage der Berechtigungen noch falsch. Ausserdem ist jetzt ein Datumsfilter integriert. Benötigt https://gitlab.learningsystem.de/lms/mycompetence/merge_requests/604 ![image](/uploads/534808102db4fbda97297741f53d942b/image.png)
Statusmerged
Created at 2024-05-02T11:32:39.197Z
Updated at 2024-05-06T09:58:37.792Z
Source branchfeature/LL-1745-mycompetence-training-list
Target branchdevelop
AuthorMarcel Pociot
AssigneeSascha Immig

Discussion notes

added 2 commits
  • 6b0036ce - fixed permissions. Used `can()`instead of `hasPermission`, since the lates does…
  • c00ed7f2 - code cosmetics
Compare with previous version
Sascha Immig 2024-05-06T09:49:42.372Z
merged Sascha Immig 2024-05-06T09:58:37.846Z
mentioned in commit 2cccddfeae015e6ebc97149851b58d4a83869a94 Sascha Immig 2024-05-06T09:58:38.220Z

Merge Commits

Title Id Author Created at Message
Fix permission checks 030250bd066e6c82b55015f666bb90eb204f9af7 Marcel Pociot 2024-05-02T10:47:11.000Z Fix permission checks
fixed permissions. Used `can()`instead of `hasPermission`, since the lates does… 6b0036ce98cfc18ed7d04ce603d6a1f627b5efa2 TUV\immigs 2024-05-06T09:48:50.000Z fixed permissions. Used `can()`instead of `hasPermission`, since the lates does not take superadmins ino account. Also `is_admin` was the wrong comparison - it would have included all client_admins wihout regarding the client permissions.
code cosmetics c00ed7f2efe0323962f1a07b601708e9b5aa70e5 TUV\immigs 2024-05-06T09:49:24.000Z code cosmetics
Add daterange filter ed14256f305bc18865419ca36a93ea0cc38ab80c Marcel Pociot 2024-05-02T11:32:27.000Z Add daterange filter