This is the historical archive of the now-inactive 'grubstreet' list.
Discussion on OpenGuides development
has now moved to OpenGuides-Dev.
Discussion on The Open Guide to
London now takes place on OpenGuides-London.
RE: [grubstreet] hmmmmm read only?
[prev] [thread] [next] [lurker] [Date index for 2002/12/11]
From: Ivor Williams
Subject: RE: [grubstreet] hmmmmm read only?
Date: 14:57 on 11 Dec 2002
Subject: RE: [grubstreet] hmmmmm read only?
Date: 14:57 on 11 Dec 2002
On Wednesday, December 11, 2002 12:20 PM, Alex McLintock [SMTP:alex@xxxx.xx.xx]
wrote:
> At 02:28 11/12/02, you wrote:
> >grubstreet seem to eb tellign me its read only now. is this right.
>
>
> At the risk of stating the obvious..... it is read only for me too.
>
Me too...
I don't know which rule we are tripping, but here's the code in usemod/wiki.pl:
sub UserCanEdit {
my ($id, $deepCheck) = @_;
# Optimized for the "everyone can edit" case (don't check passwords)
if (($id ne "") && (-f &GetLockedPageFile($id))) {
return 1 if (&UserIsAdmin()); # Requires more privledges
# Later option for editor-level to edit these pages?
return 0;
}
if (!$EditAllowed) {
return 1 if (&UserIsEditor());
return 0;
}
if (-f "$DataDir/noedit") {
return 1 if (&UserIsEditor());
return 0;
}
if ($deepCheck) { # Deeper but slower checks (not every page)
return 1 if (&UserIsEditor());
return 0 if (&UserIsBanned());
}
return 1;
}
Looks like $EditAllowed has been enabled, or
a file called noedit has been created.
Something has changed ??!
Ivor.
--
grubstreet mailing list
http://london.openguides.org/old-list-archives/
-
[grubstreet] hmmmmm read only?
Bob Walker 02:28 on 11 Dec 2002
---
Re: [grubstreet] hmmmmm read only?
Alex McLintock 12:20 on 11 Dec 2002
At the risk of stating the obvious..... it is read only for me too.-
Kate L Pugh
15:12 on 11 Dec 2002
Seems to have fixed itself now, though that might be because I logged
-
Kate L Pugh
15:12 on 11 Dec 2002
-
RE: [grubstreet] hmmmmm read only?
Ivor Williams 14:57 on 11 Dec 2002
wrote: -
Ivor Williams
15:26 on 11 Dec 2002
Nope.-
Re: [grubstreet] hmmmmm read only?
Kate L Pugh 15:32 on 11 Dec 2002
I've explicitly unset the editlock and I can now edit as a normal user.- too deep to show
-
Re: [grubstreet] hmmmmm read only?
Kate L Pugh 15:32 on 11 Dec 2002
-
Re: [grubstreet] hmmmmm read only?
Alex McLintock 12:20 on 11 Dec 2002
