diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-26 09:29:29 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-07-26 09:29:29 -0700 |
commit | 0b97cfd6f098be08be5f3cf1dbca1cce580ae330 (patch) | |
tree | fb90b32fc7afc050f7dca92ddc4575135c336777 /modules/gallery/tests/REST_Controller_Test.php | |
parent | 809e52d80cbf3beb75b238fddb0da3951fb9a8e7 (diff) |
Changed access::user_can to force the owner of an item to have
view permission on the parent. Added a whitelist of allowable
owner permissions.
If the requested permission is view and the user requesting access
is the owner, check that they have view permission to the parent.
Diffstat (limited to 'modules/gallery/tests/REST_Controller_Test.php')
0 files changed, 0 insertions, 0 deletions