Corrected permissions to go with the more logical thought process
This commit is contained in:
parent
820d2bf172
commit
a2a4ab05c8
9 changed files with 20 additions and 20 deletions
|
@ -94,7 +94,7 @@ class NodeTransformer extends TransformerAbstract
|
|||
*/
|
||||
public function includeLocation(Node $node)
|
||||
{
|
||||
if ($this->request && ! $this->request->apiKeyHasPermission('node-view')) {
|
||||
if ($this->request && ! $this->request->apiKeyHasPermission('location-view')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue