Restrictions for Search function

Author Message

Pegerto Fernandez

Thursday 29 March 2007 3:14:25 am

Hello guys,

We've a problem with the Search function. We want to allow each user to find the information related with their own sections, but right now an user could access to all sections information (not only to his limited sections).

How could we manage to limit the Search function for every single user?

Any idea will be welcomed, thank you!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 21:15:18
Script start
Timing: Jan 18 2025 21:15:18
Module start 'layout'
Timing: Jan 18 2025 21:15:18
Module start 'content'
Timing: Jan 18 2025 21:15:18
Module end 'content'
Timing: Jan 18 2025 21:15:18
Script end

Main resources:

Total runtime0.0235 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.0313152.6250
Module start 'layout' 0.00690.0030 741.656339.4453
Module start 'content' 0.00990.0113 781.101685.1016
Module end 'content' 0.02120.0022 866.203130.3047
Script end 0.0234  896.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.3886140.0002
Check MTime0.00125.0290140.0001
Mysql Total
Database connection0.00093.689210.0009
Mysqli_queries0.003113.058530.0010
Looping result0.00000.068110.0000
Template Total0.00166.910.0016
Template load0.00093.778610.0009
Template processing0.00073.076710.0007
Override
Cache load0.00062.450010.0006
General
dbfile0.00031.111280.0000
String conversion0.00000.034540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs