Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.53 KB | None | 0 0
  1. I have the following controller:
  2.  
  3. class InvestorController extends Pimcore_Controller_Action_Frontend {
  4.   public function defaultAction() {
  5.     echo 'test';
  6.     $this->disableLayout();
  7.   }
  8. }
  9.  
  10. With a document assigned to it:
  11.  
  12. +-----+----------+------+-----------+------+-------+-----------+--------------+------------------+-----------+------------------+--------+
  13. | id  | parentId | type | key       | path | index | published | creationDate | modificationDate | userOwner | userModification | locked |
  14. +-----+----------+------+-----------+------+-------+-----------+--------------+------------------+-----------+------------------+--------+
  15. | 183 |        1 | page | investors | /    |  NULL |         1 |   1311069887 |       1311255788 |         1 |                1 | NULL   |
  16. +-----+----------+------+-----------+------+-------+-----------+--------------+------------------+-----------+------------------+--------+
  17.  
  18. I'm logged in with this user:
  19.  
  20. +----+----------+------------------+----------------------------------+-----------+----------+-------+----------+-------+----------------+--------+
  21. | id | parentId | username         | password                         | firstname | lastname | email | language | admin | hasCredentials | active |
  22. +----+----------+------------------+----------------------------------+-----------+----------+-------+----------+-------+----------------+--------+
  23. | 47 |       16 | test@test123.com | ec5f3078c69fb17197c6fcf0580a87b4 | NULL      | NULL     | NULL  | en       |     0 |              0 |      1 |
  24. +----+----------+------------------+----------------------------------+-----------+----------+-------+----------+-------+----------------+--------+
  25.  
  26. Who belongs to this group:
  27.  
  28. +----+----------+------------+----------------------------------+-----------+----------+-------+----------+-------+----------------+--------+
  29. | id | parentId | username   | password                         | firstname | lastname | email | language | admin | hasCredentials | active |
  30. +----+----------+------------+----------------------------------+-----------+----------+-------+----------+-------+----------------+--------+
  31. | 16 |        0 | Site Users | 311c1c54c7ea1c273a08918bb52eddd5 | NULL      | NULL     | NULL  | en       |     0 |              0 |      1 |
  32. +----+----------+------------+----------------------------------+-----------+----------+-------+----------+-------+----------------+--------+
  33.  
  34. Neither of which have any permissions:
  35.  
  36. mysql> select * from users_permissions where userId in (16, 47);
  37. Empty set (0.00 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement