Re: upgrade 0.7.1

Joe Stewart <[email protected]> Fri, 25 Apr 2003 09:14:44 -0500
Newsgroups gmane.comp.cms.phpslash.user
Message-ID <[email protected]>
On Thu, Apr 24, 2003 at 12:36:53PM -0700, Tigran wrote:
> Comment problem fixed.
> I had an old config.php file.
> 
> i was upgrading from .7 to .7.1 so the db_xfer was done long ago.
> 
> In config.php I have the following.
> $menuitem[] = array(
>     'name'   => "Add Story",
>     'link'   => $_PSL['rooturl'] . "/submission.php",
>     'perm'   => "submissionNew",
>     'module' => "Submission"
> );
> 
> I changed 'perm' to nobody and its visible now.
> But clicking on it goes to the login screen instead of the submissions screen.
> 
> submission.php has the following
> $auth->login_if(!$perm->have_perm('submissionNew'));
> 
> I tried changing submissionNew to nobody but it didn't work.
> In 0.7 this line is commented out.
>

It looks like 65_to_7.sql is missing this:

INSERT INTO psl_group_permission_lut VALUES (109,20,12);

You can either comment the line back out in submission.php, apply 
the mysql above, or add submissionNew to the nobody group ( 
group,edit nobody, ctrl-leftclick submissionNew, submit).

thanks for pointing this out.

Joe
 
> 
> --tigran
> 
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf