| Index
» Projects
» phpMyEdit
» Bug list
» Bug #312 |
 |
|
Viewing Bug Advanced Details |
[ Jump to Bugnotes ]
[ Bug History ]
[ Print ]
|
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
|
0000312 |
core / field option |
feature |
always |
2005-02-25 09:25 |
2005-03-05 19:26 |
|
|
|
Reporter |
brycenesbitt |
View Status |
public |
|
|
Assigned To |
|
|
Priority |
normal |
Resolution |
open |
Platform |
|
|
Status |
feedback |
Duplicate ID |
|
OS |
|
|
Projection |
none |
|
Version |
|
|
ETA |
none |
|
Product Version |
5.4 (stable) |
|
|
Product Build |
|
|
|
Votes |
1 |
|
|
|
Summary |
'Add only' not supported |
|
Description |
I tried setting options:
// Options you wish to give the users
// A - add, C - change, P - copy, V - view, D - delete,
// F - filter, I - initial sort suppressed
$opts['options'] = 'A';
On the small hope that I would get an "add" only page. But, alas, it does not work. |
|
Steps To Reproduce |
|
|
Additional Information / Solution |
|
|
Attached Files |
|
|
|
|
Bug Notes |
nepto
2005-02-25 17:39
|
I believe you got list page with Add option only. |
|
|
brycenesbitt
2005-02-25 17:44
|
Yes, but since [V]iew was not enabled, I had expected there would be
no list page. The client could still see all the database entries. |
|
|
nepto
2005-02-25 17:48
|
Is he able to view any of the database entries?
I believe not. |
|
|
brycenesbitt
2005-02-25 17:50
|
Try it! It's just one line. You'll still see database entries even with [V]iew off. |
|
|
nepto
2005-02-25 18:02
|
That is the matter of your list page configuration. You can configure phpMyEdit to have only ID column at the list page or have no column there at all.
What I was talking about is the fact, that view action is forbidden when 'V' flag is not present. Just try to invoke View page and you will see. |
|
|
hbernard
2005-03-05 10:20
|
The reason List mode is enabled is that in most of the case, you _may_ want to display back to the user the records it added.
If you don't want anything to be displayed but the 'Add' button, you may use
$opts['filters'] = '0 = 1' or allways false statement, in order to not have any record displayed. |
|
|
brycenesbitt
2005-03-05 17:27
|
That works, thanks.
Now I just need to adjust my JOINs.... |
|
|
nepto
2005-03-05 19:26
|
So how about this? A candidate for Hints & Tips? :-) |
|
|
|
|