phptest-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phptest-users] Re: add question issue


From: dj resonance
Subject: Re: [Phptest-users] Re: add question issue
Date: Wed, 24 Jul 2002 14:26:53 -0700 (PDT)

Good to hear.  Look for a new version of phptest in a
day or two :)  

Brandon

--- Kathleen Ferraro <address@hidden> wrote:
> 
> Thanks, Brandon. I reinstalled the database and
> installed the updated 
> login.php. I then updated logged_in.inc. Now
> everything seems to be 
> working fine; i.e., the admin options no longer
> appear in the menu when 
> I log in as a non admin user.
> 
> Thanks again. I'll keep in touch.
> 
> Best,
> 
> Kathie
> 
> On Wednesday, July 24, 2002, at 12:52 PM, dj
> resonance wrote:
> 
> > one more thing, you should grab a clean copy of
> > login.php as I fixed another bug in it.
> >
> >
> > --- "Kathleen A. Ferraro" <address@hidden> wrote:
> >>
> >> Thanks, I'll look forward to it.
> >>
> >> Have a good night. --Kathie
> >> On Wednesday, July 24, 2002, at 12:17 AM, dj
> >> resonance wrote:
> >>
> >>> I'll email you tommorow with details on this.
> >>>
> >>> --- Kathleen Ferraro <address@hidden> wrote:
> >>>> Hi Brandon,
> >>>>
> >>>> In an effort to prevent admin options from
> being
> >>>> listed on the menu
> >>>> when a user without admin privileges logs in, I
> >>>> downloaded the relevant
> >>>> files from the CVS; i.e, add_user.php,
> >>>> edit_user.php, login.php,
> >>>> include/cuser.inc.php, include/logged_in.inc.
> >>>>
> >>>> Your change notes with logged_in.inc say
> >>>>
> >>>> added two new fields to phptest.sql in the
> users
> >>>> table:
> >>>> menu_edit_group and menu_edit_skill
> >>>>
> >>>> but the most recent version of phptest.sql is
> >> from
> >>>> 7/3 and doesn't have
> >>>> those fields.
> >>>> I manually added the fields to my users table:
> >>>>
> >>>> alter table users add column menu_edit_group
> >> tinyint
> >>>> alter table users add column menu_edit_skill
> >> tinyint
> >>>>
> >>>> I assume that the values on these fields are 0
> if
> >>>> they are
> >>>> not authorized to change users or tests and 1
> if
> >>>> they are,
> >>>> but that doesn't seem to be what happens.
> >>>>
> >>>> I have created several users whom I  have given
> >> no
> >>>> skill or
> >>>> user admin permissions; yet, the options appear
> >> on
> >>>> the menu
> >>>> when they log in. Further, my database shows a
> 1
> >>>> value
> >>>> for menu_edit_group for a newly created user,
> >> while
> >>>> the value for menu_edit_skill is NULL. Should
> >> these
> >>>> fields be given a default value of 0? Why does
> >> the
> >>>> add_user.php script give these fields a value
> of
> >> 1
> >>>> (lines 86 and
> >>>> 97)?
> >>>>
> >>>> If might help if I had the new schema for the
> >> users
> >>>> table.
> >>>>
> >>>> Thanks again,
> >>>>
> >>>> Kathie
> >>>>
> >>>>
> >>>>
> >>>> On Friday, July 19, 2002, at 12:38 PM, dj
> >> resonance
> >>>> wrote:
> >>>>> Please let me know if you find any more
> >>>>> problems or have any suggestions.
> >>>>>
> >>>>> Thanks,
> >>>>> Brandon
> >>>>>
> >>>>
> >>>
> >>
> >
>
--------------------------------------------------------------------------------------------------
> >>>> Kathleen A. Ferraro
> >>>>        |
> >>>> address@hidden
> >>>> Senior Curriculum Specialist
> >>>> |     412.648.1099
> >>>> (direct)
> >>>> Office of Medical Education (Scaife M211) |
> >>>> 412.648.8714 (main
> >>>> office)
> >>>> University of Pittsburgh
> >>>>       |
> >>>> 412.958.0057 (pager)
> >>>> Pittsburgh, PA 15261 USA
> >>>> |     412.383.7477
> >>>> (fax)
> >>>>
> >>>
> >>
> >
>
---------------------------------------------------------------------------------------------------
> >>>> I am pleased that history recognizes the first
> to
> >>>> invent something, but
> >>>> I am more concerned with the first person to
> make
> >> it
> >>>> work.
> >>>>                     --Commodore Grace Murray
> >> Hopper,
> >>>> Computing Pioneer
> >>>>
> >>>
> >>>
> >>>
> __________________________________________________
> >>> Do You Yahoo!?
> >>> Yahoo! Health - Feel better, live better
> >>> http://health.yahoo.com
> >>>
> >>
> >
>
---------------------------------------------------------------------------------------------------
> >> Kathleen A. Ferraro
> >>         |
> >> address@hidden
> >> Senior Curriculum Specialist
> >>  |     412.648.1099
> >> (direct)
> >> Office of Medical Education (Scaife M211)  |
> >> 412.648.8714 (main
> >> office)
> >> University of Pittsburgh
> >>        |
> >> 412.958.0057 (pager)
> >> Pittsburgh, PA 15261 USA
> >>  |     412.383.7477
> >> (fax)
> >>
> >
>
---------------------------------------------------------------------------------------------------
> >> I am pleased that history recognizes the first to
> >> invent something, but
> >> I am more concerned with the first person to make
> it
> >> work.
> >>                    --Commodore Grace Murray
> Hopper,
> >> Computing Pioneer
> >>
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Health - Feel better, live better
> > http://health.yahoo.com
> >
>
--------------------------------------------------------------------------------------------------
> Kathleen A. Ferraro                                 
>        |     
> address@hidden
> Senior Curriculum Specialist                        
> |     412.648.1099 
> (direct)
> Office of Medical Education (Scaife M211) |    
> 412.648.8714 (main 
> office)
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]