add todos from github

This commit is contained in:
Dennis Eichhorn 2019-12-31 19:54:45 +01:00
parent 05f93649e9
commit 1c47b2220a
2 changed files with 16 additions and 0 deletions

View File

@ -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
{

View File

@ -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