Download & Extend

Add access check for links

Project:Coffee
Component:Code
Category:feature request
Priority:normal
Assigned:michaelmol
Status:closed (fixed)

Issue Summary

The result list should be aware for access to menu links

Comments

#1

To achieve this, the range on the query is obsolete.
In the loop for each record from the query the function menu_get_item($path) should be called and an check if the access attribute is set.
After that the return array should be sliced, to return no to many results.

This extra callback can cause potentially performance issues.

#2

#3

Status:fixed» closed (fixed)

#4

Status:closed (fixed)» fixed

#5

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.