From the Eliovir

Pm Wiki: Auth User-Talk

This is a talk page for improving PmWiki.AuthUser.


Not-answered questions

Q How can I access the authorization groups that the current user belongs to in order to test using that as a condition of an if statement?

forceflow: Dirty hack I found: create a lone page (DirtyHackPage) somewhere, and only give a certain group (apples, for example), the rights to read it. Then you can use (:if auth read DirtyHackPage:) to identify members of the apples group. It’s dirty, but does the trick if you only have limited amount of groups.

Q Is there any way to have groups inherit other groups (e.g. @fruits: @apples, @oranges, jack)?

Q Is it possible to list more than one .htpasswd and .htgroup file to be used?

e.g. if I am running a wikifarm and some users are common across various fields, it would be nice if they only needed to update their password once. Sure I could merge all the passwd & group files, but then I wouldn’t be able to support identical user or group names on each independent wikifield..

Q I want to allow anyone to edit my wiki, but don’t want anyone else to use my name as the author.

Is there a way to “reserve” and password protect certain usernames? Or basically just require a password when attempting to edit a page with a registered user’s name in the author field?

Q I’m facing a problem with authentication using MySQL database.

New user registration works but login always fails asking for correct user name and password even though proper values are entered. Where could be the problem?

I have been trying to set site-wide authorizations and getting really frustrated. I have the following lines in my config.php:

$DefaultPasswords[‘edit’] = crypt(‘edit_password’);
$DefaultPasswords[‘read’] = crypt(‘read_password’);
$DefaultPasswords[‘admin’] = crypt(‘admin_password’);
$include_once(“scripts/authuser.php”);

But I can still freely edit many pages. Some not, some yes. I’ve tried manually “clearing” passwords on pages that I seem to be able to edit.

What gives?

biocwiki.physics.indiana.edu/~abalter/pmwiki/pmwiki.php

Q Is there a way that people could self-register through AuthUser?

Chris I’m trying to do this same thing now via phpbb 3.0’s authentication and database. If that’s an option here’s how I plan on doing it. I have the phpbb 3.0 working with an sql database thanks to godaddy. I think all you need are 4 other cookbooks, AuthUserDbase dependent on AuthUser, ADOdb, DatabaseStandard. I’m going to use Cookbook:AuthUserDbase “setting for using another program’s database for authentication. Then I’ll need to figure out how to set user permissions to their own created content. I’d love to package all 4 of these cookbooks, and some default lines to add to a config.php to enable any new pmwiki hosts to easily connect to an existing database with minimal “dirty work”. Best of luck to us both, Mark (reach me at webmeister@dreamsnare.com the site I’m building is dreamsnare.com).

Please see Cookbook:AuthUserSignup for a solution to this problem. Peter Bowers October 25, 2008, at 01:45 PM

This is totally true! I’ve been working with Peter on getting this installed and I can truly say that this is the most complete authentication system for AuthUserSignup. Real Chris November 19, 2008, at 05:15 AM

Copyright © 2005–2025 the Main wiki and its authors

Retrieved from http://eliovir.free.fr/index.php5/PmWiki/AuthUser-Talk

Page last modified on June 13, 2009, at 05:11 AM EST