mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 14:38:39 +00:00
Add todo
This commit is contained in:
parent
eac63202f7
commit
743e182949
|
|
@ -124,6 +124,7 @@ final class Router
|
||||||
) {
|
) {
|
||||||
// if csrf is required but not set
|
// if csrf is required but not set
|
||||||
if (isset($d['csrf']) && $csrf === null) {
|
if (isset($d['csrf']) && $csrf === null) {
|
||||||
|
// todo: replace http request and http uri with general request and http
|
||||||
\array_merge($bound, $this->route(new Request(new Http('/' . $app . '/e403')), $verb));
|
\array_merge($bound, $this->route(new Request(new Http('/' . $app . '/e403')), $verb));
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
|
@ -134,6 +135,7 @@ final class Router
|
||||||
|| (isset($d['permission'])
|
|| (isset($d['permission'])
|
||||||
&& !$account->hasPermission($d['permission']['type'], $orgId, $app, $d['permission']['module'], $d['permission']['state']))
|
&& !$account->hasPermission($d['permission']['type'], $orgId, $app, $d['permission']['module'], $d['permission']['state']))
|
||||||
) {
|
) {
|
||||||
|
// todo: replace http request and http uri with general request and http
|
||||||
\array_merge($bound, $this->route(new Request(new Http('/' . $app . '/e403')), $verb));
|
\array_merge($bound, $this->route(new Request(new Http('/' . $app . '/e403')), $verb));
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user