RoyBaird
Posts: 115
|
| Posted: 04/06/2010, 5:19 AM |
|
I have an application that allows for uploading of files (reports). I need to set the security for viewing of each in the setup. I want to use a listbox showing the group security description so the admin will know which one to select. The groups are not stored in a table that I can locate, so I am assuming they are in the 'common' file. How do I retrieve them into the listbox?
This is PHP code.
Thanks,
_________________
Roy |
 |
 |
damian
Posts: 838
|
| Posted: 04/06/2010, 5:38 AM |
|
set data source as "list of values" and manually type them in....
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
RoyBaird
Posts: 115
|
| Posted: 04/06/2010, 7:21 AM |
|
That I know.
BUT if there are changes to the groups, then the page has to be changed too. I was trying to avoid this step. I found where the data is stored. I was hoping the same function CCS uses in the settings tab was available for use by developers.
_________________
Roy |
 |
 |
Waspman
Posts: 948
|
| Posted: 04/06/2010, 8:36 AM |
|
If the groups change it wouldn't make any difference unless a users was assigned that level of access? So something would have to be updated any road? Use an Access level/GroupID table with descriptions etc.
_________________
http://www.waspmedia.co.uk |
 |
 |
damian
Posts: 838
|
| Posted: 04/06/2010, 2:01 PM |
|
i usually use a security table too...
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |