Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 13. október 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Force Filtering a specific value

phpMyEdit Features     Force Filtering a specific value
Odoslať novú tému   Odpovedať na tému    
 
apc128     Založený: 09.09.2008   Príspevky: 1  
Príspevok Zaslal: 2009-03-20 17:49
Návrat hore  Odpovedať s citátom     

For queries on a specific column, is it possible to force filter a specific one that the user is unable to remove? For instance if my database is 6 columns:

Fruit Number 1...5

Apples 1 2 3 4 5
Apples 6 7 8 9 10
Bananas 6 7 8 9 10
Carrots 11 12 13 14 15
Carrots 19 22 23 84 65
Carrots 171 121 113 114 152
Ducks 16 17 18 19 20
Eggs 21 22 23 24 25

Lets imagine Administrators can see and filter everything-- so they have access to one phpMyEdit table set up specifically for this and put into a unique directory.

However, I want to restrict certain users from seeing any of the Ducks entries. I imagined I can do this by setting up another phpMyEdit table and putting it into a directory for this type of user, then forcing a filter or a query that shows all but "Ducks". Not only that, but I'd further like this filter to be enforced (the default phpMyEdit table might allow you to remove the filter and see the Ducks entries afterwards) Is this possible? If so, can someone help me out with the code please? Thanks in advance for the help.

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov