Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Non-anonymous editing problems

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


henry at compumentor

Sep 14, 2005, 4:07 PM

Post #1 of 2 (3379 views)
Permalink
Non-anonymous editing problems

I am encountering problems when I attempt to disallow anonymous editing
in version 1.5 RC4. I am using the $wgGroupPermissions settings as
follows:

$wgGroupPermissions = array();
$wgGroupPermissions['*' ]['createaccount'] = false;
$wgGroupPermissions['*' ]['read'] = true;
$wgGroupPermissions['user' ]['edit'] = true;

This indeed does not allow anonymous users to edit. But, it also
prevents registered users from editing and saving. When they hit the
"Save page" button, they get the message, "Remember that this is only a
preview, and has not yet been saved!" as if they had hit the "Show
preview."

And, in fact, when I take $wgGroupPermissions settings out, only
anonymous users can edit and logged in users see the same behavior as
above. Arrgh!

This was also happening in 1.4, which I just upgraded our site to 1.5
RC4 hoping that it fix the problem that was preventing this from working
correctly. But, the same stubborn problem persists.

Any tips for me? Thanks.

~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
Henry Kumagai
Tech Support Manager
Email: henry(at)compumentor.org

http://www.compumentor.org
Bringing people and technology together to strengthen our communities

http://www.techsoup.org
Technology served the way nonprofits need it, powered by CompuMentor
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*



_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l


brion at pobox

Sep 14, 2005, 6:17 PM

Post #2 of 2 (3224 views)
Permalink
Re: Non-anonymous editing problems [In reply to]

Henry Kumagai wrote:
[snip]
> This indeed does not allow anonymous users to edit. But, it also
> prevents registered users from editing and saving. When they hit the
> "Save page" button, they get the message, "Remember that this is only a
> preview, and has not yet been saved!" as if they had hit the "Show
> preview."
>
> And, in fact, when I take $wgGroupPermissions settings out, only
> anonymous users can edit and logged in users see the same behavior as
> above. Arrgh!

Sounds like you have a problem with session data; this is unrelated to
the group permissions, and will cause edits and other actions by
logged-in users to fail due to the failure of a security check to
protect against hijacked sessions.

Make sure that PHP's sessions are configured correctly to save to a path
that actually exists. If you're on Windows, the default is almost always
wrong. If you're on a shared server farm like Sourceforge, you may need
to customize the path to a shared network location instead of the local
hard drive of each server.

-- brion vibber (brion @ pobox.com)
Attachments: signature.asc (0.25 KB)

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.