Closed timyates closed 3 weeks ago
See #2350
Added 1 new permission:
create and update check
teamMemberId
And view checks the permission exists, and if not then performs the 2 above checks
I removed the service test, the coverage is almost exactly the same, and the mocking was getting excessive. The controller test does a better job of exercising the paths with real services and actual data (IMO)
See #2350
Added 1 new permission:
create and update check
teamMemberId
in the supervisory tree of the current user?And view checks the permission exists, and if not then performs the 2 above checks