mirror of
https://github.com/Karaka-Management/oms-Profile.git
synced 2026-02-06 11:08:40 +00:00
add todos from github
This commit is contained in:
parent
05f93649e9
commit
1c47b2220a
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user