diff --git a/Controller/ApiController.php b/Controller/ApiController.php index b57c688..483e9b1 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -29,6 +29,12 @@ use phpOMS\Message\ResponseAbstract; * @license OMS License 1.0 * @link https://orange-management.org * @since 1.0.0 + * + * @todo Orange-Management/Modules#138 + * Allow Admin to login as user + * Admins should be allowed to log in as users. + * This doesn't mean that the admins can create content in the name of a user but they get to see all the things this user can see. + * They basically log in with the same permissions. */ final class ApiController extends Controller { diff --git a/Controller/BackendController.php b/Controller/BackendController.php index bf25db1..17c6b8b 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -61,6 +61,12 @@ final class BackendController extends Controller * * @return RenderableInterface * + * @todo Orange-Management/Modules#104 + * Define account types to show + * Currently all accounts are shown in the profile module. + * The profile module should have an option to define which accounts to show (e.g. only employee models, partners etc.). + * To do this the profile module either needs to request them from the modules or the modules have to provide these accounts. + * * @since 1.0.0 */ public function viewProfileList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -82,6 +88,10 @@ final class BackendController extends Controller * * @return RenderableInterface * + * @todo Orange-Management/Modules#53 + * Implement basic profile view + * The profile view currently only contains fixed values this needs to change. + * * @since 1.0.0 */ public function viewProfileSingle(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface