From: Marek L. <Mar...@ao...> - 2007-10-11 07:59:15
|
Hi All, Same here, I can't access the WIKI using the admin credentials anymore.=20 Regards, Marek=20 -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of Alastair Weller Sent: Wednesday, 10 October 2007 11:55 PM To: php...@li... Subject: [Phpwiki-talk] User Authentication Hi Guys Just setup phpwiki and loving it so far. However one thing I would like to add is user authentication so that only authenticatated users can login and view/edit/created pages and ideally only pages in the groups/categorys there are members of ie if they are in ProjectGroup they only have access to pages under wikiurl/ProjectGroup if they are in ProjectGroup and ClientDetails they have access to wikiurl/ProjectGroup and wikiurl/ClientDetails. I've had a look at the authentication options and tried turning on Db user and group authentication - but it then doesn't let me login as the Admin user. I've also tried to work out how to create users when using the following configuration, to no avail. ALLOW_ANON_USER =3D false ALLOW_ANON_EDIT =3D false ALLOW_BOGO_LOGIN =3D false, ALLOW_USER_PASSWORDS =3D true. I'm running this on a cpanel server with Apache Apache/1.3.37, PHP 4.4.7 and MYSQL 4.1.22. Many thanks for any help and/or pointers. Alastair -- P Before you print think about the ENVIRONMENT ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Phpwiki-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |
From: Marek L. <Mar...@ao...> - 2007-10-11 08:56:30
|
Hi Alastair, How did you solve the user issue?=20 Regards, Marek=20 -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of Alastair Weller Sent: Thursday, 11 October 2007 4:55 PM To: Discussion on PhpWiki features, bugs, development. Subject: Re: [Phpwiki-talk] User Authentication I've solved the user issue - however I now can't get my head around the groups issue. Alastair On 11/10/2007, Marek Lukasik <Mar...@ao...> wrote: > Hi All, > > Same here, I can't access the WIKI using the admin credentials anymore. > > > Regards, > Marek > > -----Original Message----- > From: php...@li... > [mailto:php...@li...] On Behalf Of=20 > Alastair Weller > Sent: Wednesday, 10 October 2007 11:55 PM > To: php...@li... > Subject: [Phpwiki-talk] User Authentication > > Hi Guys > > Just setup phpwiki and loving it so far. > > However one thing I would like to add is user authentication so that=20 > only authenticatated users can login and view/edit/created pages and=20 > ideally only pages in the groups/categorys there are members of ie if=20 > they are in ProjectGroup they only have access to pages under=20 > wikiurl/ProjectGroup if they are in ProjectGroup and ClientDetails=20 > they have access to wikiurl/ProjectGroup and wikiurl/ClientDetails. > > I've had a look at the authentication options and tried turning on Db=20 > user and group authentication - but it then doesn't let me login as=20 > the Admin user. I've also tried to work out how to create users when=20 > using the following configuration, to no avail. > > ALLOW_ANON_USER =3D false > ALLOW_ANON_EDIT =3D false > ALLOW_BOGO_LOGIN =3D false, > ALLOW_USER_PASSWORDS =3D true. > > I'm running this on a cpanel server with Apache Apache/1.3.37, PHP > 4.4.7 and MYSQL 4.1.22. > > Many thanks for any help and/or pointers. > > Alastair > > -- > P Before you print think about the ENVIRONMENT > > ---------------------------------------------------------------------- > -- > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/=20 > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > ---------------------------------------------------------------------- > --- This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/=20 > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > -- P Before you print think about the ENVIRONMENT ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Phpwiki-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |
From: Alastair W. <lis...@al...> - 2007-10-11 10:38:16
|
This is from my config. Comments stripped to save space: ;======================================================================== ; Part Three: User Authentication ;======================================================================== ALLOW_ANON_USER = false ALLOW_ANON_EDIT = false ALLOW_BOGO_LOGIN = false ALLOW_USER_PASSWORDS = true USER_AUTH_ORDER = "Db" PASSWORD_LENGTH_MINIMUM = 0 USER_AUTH_POLICY = first-only ;Haven't managed to get group auth working otherwise this would be DB. However group auth config below GROUP_METHOD = WIKIPAGE CATEGORY_GROUP_PAGE = CategoryGroup DBAUTH_AUTH_DSN = "mysql://pwiki_user:pwiki_pass@localhost/pwiki_db" DBAUTH_AUTH_USER_EXISTS = "SELECT userid FROM pref WHERE userid='$userid'" DBAUTH_AUTH_CHECK = "SELECT IF(TRIM(passwd)='$password',1,0) AS ok FROM pref WHERE TRIM(userid)='$userid'" DBAUTH_AUTH_CHECK = "SELECT IF(TRIM(passwd)=PASSWORD('$password'),1,0) AS ok FROM pref WHERE TRIM(userid)='$userid'" DBAUTH_AUTH_UPDATE = "UPDATE pref SET passwd=PASSWORD('$password') WHERE userid='$userid'" DBAUTH_PREF_SELECT = "SELECT prefs FROM pref WHERE userid='$userid'" DBAUTH_PREF_UPDATE = "UPDATE pref SET prefs='$pref_blob' WHERE userid='$userid'" DBAUTH_PREF_INSERT = "INSERT INTO pref (userid,prefs) VALUES ('$userid','$pref_blob')" DBAUTH_IS_MEMBER = "SELECT userid FROM member WHERE userid='$userid' AND groupname='$groupname'" DBAUTH_GROUP_MEMBERS = "SELECT DISTINCT userid FROM member WHERE groupname='$groupname'" DBAUTH_USER_GROUPS = "SELECT groupname FROM member WHERE userid='$userid'" I then did an insert through phpMyAdmin to create a new user called TestUser. When creating the password select PASSWORD from the drop down menu. If you want to use MD5 or SHA1 you'll have to change your queries above and. Hope that helps Alastair On 11/10/2007, Marek Lukasik <Mar...@ao...> wrote: > Hi Alastair, > How did you solve the user issue? > > > Regards, > Marek > > -----Original Message----- > From: php...@li... > [mailto:php...@li...] On Behalf Of > Alastair Weller > Sent: Thursday, 11 October 2007 4:55 PM > To: Discussion on PhpWiki features, bugs, development. > Subject: Re: [Phpwiki-talk] User Authentication > > I've solved the user issue - however I now can't get my head around the > groups issue. > > Alastair > > On 11/10/2007, Marek Lukasik <Mar...@ao...> wrote: > > Hi All, > > > > Same here, I can't access the WIKI using the admin credentials > anymore. > > > > > > Regards, > > Marek > > > > -----Original Message----- > > From: php...@li... > > [mailto:php...@li...] On Behalf Of > > Alastair Weller > > Sent: Wednesday, 10 October 2007 11:55 PM > > To: php...@li... > > Subject: [Phpwiki-talk] User Authentication > > > > Hi Guys > > > > Just setup phpwiki and loving it so far. > > > > However one thing I would like to add is user authentication so that > > only authenticatated users can login and view/edit/created pages and > > ideally only pages in the groups/categorys there are members of ie if > > they are in ProjectGroup they only have access to pages under > > wikiurl/ProjectGroup if they are in ProjectGroup and ClientDetails > > they have access to wikiurl/ProjectGroup and wikiurl/ClientDetails. > > > > I've had a look at the authentication options and tried turning on Db > > user and group authentication - but it then doesn't let me login as > > the Admin user. I've also tried to work out how to create users when > > using the following configuration, to no avail. > > > > ALLOW_ANON_USER = false > > ALLOW_ANON_EDIT = false > > ALLOW_BOGO_LOGIN = false, > > ALLOW_USER_PASSWORDS = true. > > > > I'm running this on a cpanel server with Apache Apache/1.3.37, PHP > > 4.4.7 and MYSQL 4.1.22. > > > > Many thanks for any help and/or pointers. > > > > Alastair > > > > -- > > P Before you print think about the ENVIRONMENT > > > > ---------------------------------------------------------------------- > > -- > > - > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Phpwiki-talk mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > > > ---------------------------------------------------------------------- > > --- This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a > browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Phpwiki-talk mailing list > > Php...@li... > > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > > > > -- > P Before you print think about the ENVIRONMENT > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > -- P Before you print think about the ENVIRONMENT |
From: Alastair W. <lis...@al...> - 2007-10-11 08:54:27
|
I've solved the user issue - however I now can't get my head around the groups issue. Alastair On 11/10/2007, Marek Lukasik <Mar...@ao...> wrote: > Hi All, > > Same here, I can't access the WIKI using the admin credentials anymore. > > > Regards, > Marek > > -----Original Message----- > From: php...@li... > [mailto:php...@li...] On Behalf Of > Alastair Weller > Sent: Wednesday, 10 October 2007 11:55 PM > To: php...@li... > Subject: [Phpwiki-talk] User Authentication > > Hi Guys > > Just setup phpwiki and loving it so far. > > However one thing I would like to add is user authentication so that > only authenticatated users can login and view/edit/created pages and > ideally only pages in the groups/categorys there are members of ie if > they are in ProjectGroup they only have access to pages under > wikiurl/ProjectGroup if they are in ProjectGroup and ClientDetails they > have access to wikiurl/ProjectGroup and wikiurl/ClientDetails. > > I've had a look at the authentication options and tried turning on Db > user and group authentication - but it then doesn't let me login as the > Admin user. I've also tried to work out how to create users when using > the following configuration, to no avail. > > ALLOW_ANON_USER = false > ALLOW_ANON_EDIT = false > ALLOW_BOGO_LOGIN = false, > ALLOW_USER_PASSWORDS = true. > > I'm running this on a cpanel server with Apache Apache/1.3.37, PHP > 4.4.7 and MYSQL 4.1.22. > > Many thanks for any help and/or pointers. > > Alastair > > -- > P Before you print think about the ENVIRONMENT > > ------------------------------------------------------------------------ > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > -- P Before you print think about the ENVIRONMENT |
From: Reini U. <ru...@x-...> - 2007-10-16 19:05:05
|
Alastair Weller schrieb: > I've solved the user issue - however I now can't get my head around > the groups issue. Do you still need help about the groups? "CategoryGroup" has this: All links in this page will be used to find user groups for the WIKIPAGE group method. User group pages must contain a list of usernames, and then for consistency after four hyphens a link to this page. * [Administrators] So you have to create the page "Administrators" and list the names of users there. Like: * [MyTestUser] * [Real Name] and lock the pages. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |
From: Alastair W. <lis...@al...> - 2007-10-17 17:47:38
|
I've tried using the CategoryGroup page, and I can get the groups to appear in the setacl page - but I can't seem to get the acl to work. Really I want to use the DB option for the groups as well as the users - that way it will hopefully be a lot easier to manage. I'm looking to be running one wiki with mutliple sections ie Company1, Company2, Org1, Charity1 - most people will only be in one group ie Company1Group, Company2Group, Org1Group, Charity1Group vut some will be in more than one (they won't necessarily be administrators either) I'd then like to define that further, so Company1Group is actualyl Company1View, Company1Edit, Company1Create etc etc. Alastair On 16/10/2007, Reini Urban <ru...@x-...> wrote: > > Alastair Weller schrieb: > > I've solved the user issue - however I now can't get my head around > > the groups issue. > > Do you still need help about the groups? > > "CategoryGroup" has this: > > All links in this page will be used to find user groups for the > WIKIPAGE group method. User group pages must contain a list of > usernames, and then for consistency after four hyphens a link to this > page. > > * [Administrators] > > So you have to create the page "Administrators" > and list the names of users there. > Like: > > * [MyTestUser] > * [Real Name] > > > and lock the pages. > -- > Reini Urban > http://phpwiki.org/ http://murbreak.at/ > http://helsinki.at/ http://spacemovie.mur.at/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > -- P Before you print think about the ENVIRONMENT -- P Before you print think about the ENVIRONMENT |
From: Harold H. <ha...@ha...> - 2007-10-20 03:36:29
|
I'm getting a warning that the upload log file is not writable. I don't see a config setting for this log, but do see some stuff defining it in UpLoad.php . I DID modify UpLoad.php to get uploaded files properly in user directories. The revision I made was: // $file_dir = getUploadFilePath(); $file_dir = getUploadFilePath() . '/'; // added slash. hh 9/8/07 So, did I mess up the log file location? What do I do to make the log work? I'd suspect the log would be in /var/log/... . Thanks! Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! |
From: Sabri L. <sab...@st...> - 2007-10-22 08:11:26
|
Harold Hallikainen wrote: >I'm getting a warning that the upload log file is not >writable. I don't see a config setting for this log, but do >see some stuff defining it in UpLoad.php . I DID modify >UpLoad.php to get uploaded files properly in user directories. >The revision I made was: > > // $file_dir = getUploadFilePath(); > $file_dir = getUploadFilePath() . '/'; // added >slash. hh 9/8/07 Yes, I had the same issue sometimes ago. That slash is indeed missing. >So, did I mess up the log file location? What do I do to make >the log work? I'd suspect the log would be in /var/log/... . > -- Sabri. |
From: Alastair W. <lis...@al...> - 2007-10-20 15:08:30
|
I sent this message a few days ago - but it hasn't shown up on the sourceforge.net Email Archive. Is the mailing list playing up and does anyone know how to use DB for group management? Alastair ---------- Forwarded message ---------- From: Alastair Weller <lis...@al...> Date: 17 Oct 2007 18:47 Subject: Re: [Phpwiki-talk] User Authentication To: "Discussion on PhpWiki features, bugs, development." < php...@li...> I've tried using the CategoryGroup page, and I can get the groups to appear in the setacl page - but I can't seem to get the acl to work. Really I want to use the DB option for the groups as well as the users - that way it will hopefully be a lot easier to manage. I'm looking to be running one wiki with mutliple sections ie Company1, Company2, Org1, Charity1 - most people will only be in one group ie Company1Group, Company2Group, Org1Group, Charity1Group vut some will be in more than one (they won't necessarily be administrators either) I'd then like to define that further, so Company1Group is actualyl Company1View, Company1Edit, Company1Create etc etc. Alastair On 16/10/2007, Reini Urban <ru...@x-...> wrote: > > Alastair Weller schrieb: > > I've solved the user issue - however I now can't get my head around > > the groups issue. > > Do you still need help about the groups? > > "CategoryGroup" has this: > > All links in this page will be used to find user groups for the > WIKIPAGE group method. User group pages must contain a list of > usernames, and then for consistency after four hyphens a link to this > page. > > * [Administrators] > > So you have to create the page "Administrators" > and list the names of users there. > Like: > > * [MyTestUser] > * [Real Name] > > > and lock the pages. > -- > Reini Urban > http://phpwiki.org/ http://murbreak.at/ > http://helsinki.at/ http://spacemovie.mur.at/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > -- P Before you print think about the ENVIRONMENT -- P Before you print think about the ENVIRONMENT -- P Before you print think about the ENVIRONMENT |
From: Reini U. <ru...@x-...> - 2007-10-23 09:08:03
|
2007/10/20, Alastair Weller <lis...@al...>: > I sent this message a few days ago - but it hasn't shown up on the > sourceforge.net Email Archive. > Is the mailing list playing up and does anyone know how to use DB for group > management? > > Alastair I would know, but I'm for the next two weeks on holidays. Sorry. > ---------- Forwarded message ---------- > From: Alastair Weller > <lis...@al... > > Date: 17 Oct 2007 18:47 > Subject: Re: [Phpwiki-talk] User Authentication > To: "Discussion on PhpWiki features, bugs, development." > <php...@li... > > > > > > I've tried using the CategoryGroup page, and I can get the groups to appear > in the setacl page - but I can't seem to get the acl to work. > Really I want to use the DB option for the groups as well as the users - > that way it will hopefully be a lot easier to manage. > > I'm looking to be running one wiki with mutliple sections ie Company1, > Company2, Org1, Charity1 - most people will only be in one group ie > Company1Group, Company2Group, Org1Group, Charity1Group vut some will be in > more than one (they won't necessarily be administrators either) > I'd then like to define that further, so Company1Group is actualyl > Company1View, Company1Edit, Company1Create etc etc. > > Alastair > > > > On 16/10/2007, Reini Urban <ru...@x-...> wrote: > > Alastair Weller schrieb: > > > I've solved the user issue - however I now can't get my head around > > > the groups issue. > > > > Do you still need help about the groups? > > > > "CategoryGroup" has this: > > > > All links in this page will be used to find user groups for the > > WIKIPAGE group method. User group pages must contain a list of > > usernames, and then for consistency after four hyphens a link to this > > page. > > > > * [Administrators] > > > > So you have to create the page "Administrators" > > and list the names of users there. > > Like: > > > > * [MyTestUser] > > * [Real Name] > > > > > > and lock the pages. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://spacemovie.mur.at/ http://helsinki.at/ |
From: Alastair W. <lis...@al...> - 2007-10-23 09:31:21
|
Ok no worries - I'll have a play and follow up in 2 weeks. I seem to have sussed the ACL when using CategoryGroups Alastair On 23/10/2007, Reini Urban <ru...@x-...> wrote: > > 2007/10/20, Alastair Weller <lis...@al...>: > > I sent this message a few days ago - but it hasn't shown up on the > > sourceforge.net Email Archive. > > Is the mailing list playing up and does anyone know how to use DB for > group > > management? > > > > Alastair > > I would know, but I'm for the next two weeks on holidays. Sorry. > > > ---------- Forwarded message ---------- > > From: Alastair Weller > > <lis...@al... > > > Date: 17 Oct 2007 18:47 > > Subject: Re: [Phpwiki-talk] User Authentication > > To: "Discussion on PhpWiki features, bugs, development." > > <php...@li... > > > > > > > > > > > I've tried using the CategoryGroup page, and I can get the groups to > appear > > in the setacl page - but I can't seem to get the acl to work. > > Really I want to use the DB option for the groups as well as the users - > > that way it will hopefully be a lot easier to manage. > > > > I'm looking to be running one wiki with mutliple sections ie Company1, > > Company2, Org1, Charity1 - most people will only be in one group ie > > Company1Group, Company2Group, Org1Group, Charity1Group vut some will be > in > > more than one (they won't necessarily be administrators either) > > I'd then like to define that further, so Company1Group is actualyl > > Company1View, Company1Edit, Company1Create etc etc. > > > > Alastair > > > > > > > > On 16/10/2007, Reini Urban <ru...@x-...> wrote: > > > Alastair Weller schrieb: > > > > I've solved the user issue - however I now can't get my head around > > > > the groups issue. > > > > > > Do you still need help about the groups? > > > > > > "CategoryGroup" has this: > > > > > > All links in this page will be used to find user groups for the > > > WIKIPAGE group method. User group pages must contain a list of > > > usernames, and then for consistency after four hyphens a link to this > > > page. > > > > > > * [Administrators] > > > > > > So you have to create the page "Administrators" > > > and list the names of users there. > > > Like: > > > > > > * [MyTestUser] > > > * [Real Name] > > > > > > > > > and lock the pages. > -- > Reini Urban > http://phpwiki.org/ http://murbreak.at/ > http://spacemovie.mur.at/ http://helsinki.at/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > -- P Before you print think about the ENVIRONMENT |
From: Alastair W. <lis...@al...> - 2007-11-19 13:48:31
|
Reini Have you any idea on how I could move to the MYSQL groups rather than CategoryGroups Alastair ---------- Forwarded message ---------- From: Alastair Weller <lis...@al...> Date: 23 Oct 2007 09:31 Subject: Re: [Phpwiki-talk] Fwd: User Authentication To: "Discussion on PhpWiki features, bugs, development." < php...@li...> Ok no worries - I'll have a play and follow up in 2 weeks. I seem to have sussed the ACL when using CategoryGroups Alastair On 23/10/2007, Reini Urban <ru...@x-...> wrote: > > 2007/10/20, Alastair Weller <lis...@al... >: > > I sent this message a few days ago - but it hasn't shown up on the > > sourceforge.net Email Archive. > > Is the mailing list playing up and does anyone know how to use DB for > group > > management? > > > > Alastair > > I would know, but I'm for the next two weeks on holidays. Sorry. > > > ---------- Forwarded message ---------- > > From: Alastair Weller > > < lis...@al... > > > Date: 17 Oct 2007 18:47 > > Subject: Re: [Phpwiki-talk] User Authentication > > To: "Discussion on PhpWiki features, bugs, development." > > < php...@li... > > > > > > > > > > > I've tried using the CategoryGroup page, and I can get the groups to > appear > > in the setacl page - but I can't seem to get the acl to work. > > Really I want to use the DB option for the groups as well as the users - > > that way it will hopefully be a lot easier to manage. > > > > I'm looking to be running one wiki with mutliple sections ie Company1, > > Company2, Org1, Charity1 - most people will only be in one group ie > > Company1Group, Company2Group, Org1Group, Charity1Group vut some will be > in > > more than one (they won't necessarily be administrators either) > > I'd then like to define that further, so Company1Group is actualyl > > Company1View, Company1Edit, Company1Create etc etc. > > > > Alastair > > > > > > > > On 16/10/2007, Reini Urban < ru...@x-...> wrote: > > > Alastair Weller schrieb: > > > > I've solved the user issue - however I now can't get my head around > > > > the groups issue. > > > > > > Do you still need help about the groups? > > > > > > "CategoryGroup" has this: > > > > > > All links in this page will be used to find user groups for the > > > WIKIPAGE group method. User group pages must contain a list of > > > usernames, and then for consistency after four hyphens a link to this > > > page. > > > > > > * [Administrators] > > > > > > So you have to create the page "Administrators" > > > and list the names of users there. > > > Like: > > > > > > * [MyTestUser] > > > * [Real Name] > > > > > > > > > and lock the pages. > -- > Reini Urban > http://phpwiki.org/ http://murbreak.at/ > http://spacemovie.mur.at/ http://helsinki.at/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > -- P Before you print think about the ENVIRONMENT -- P Before you print think about the ENVIRONMENT |
From: Reini U. <ru...@x-...> - 2007-12-07 17:48:12
|
Alastair Weller schrieb: > I've tried to send this meesage to the sourceforge list but it doesn't > seem like it got their. Is there a problem or does sourceforge hate > gmail as much as gmail seems to hate mailing lists? From time to time gmail as any other major webmail site is blocked there. > ---------- Forwarded message ---------- > From: Alastair Weller <lis...@al...> > Date: 19 Nov 2007 13:48 > Subject: Fwd: [Phpwiki-talk] Fwd: User Authentication > To: "Discussion on PhpWiki features, bugs, development." > <php...@li...> > > Have you any idea on how I could move to the MYSQL groups rather than > CategoryGroups Sure, I do have. But unfortunately I'm on a business trip in the states for the whole week without a lot of computer access. fill the group table with your names and check out the sql templates. it should work out of the box. > ---------- Forwarded message ---------- > From: Alastair Weller <lis...@al... > > Date: 23 Oct 2007 09:31 > Subject: Re: [Phpwiki-talk] Fwd: User Authentication > To: "Discussion on PhpWiki features, bugs, development." > <php...@li... > > > > Ok no worries - I'll have a play and follow up in 2 weeks. > I seem to have sussed the ACL when using CategoryGroups > > Alastair > > On 23/10/2007, Reini Urban <ru...@x-...> wrote: >> 2007/10/20, Alastair Weller < lis...@al... >: >>> I sent this message a few days ago - but it hasn't shown up on the >>> sourceforge.net Email Archive. >>> Is the mailing list playing up and does anyone know how to use DB for group >>> management? >>> >>> Alastair >> I would know, but I'm for the next two weeks on holidays. Sorry. >> >>> ---------- Forwarded message ---------- >>> From: Alastair Weller >>> < lis...@al... > >>> Date: 17 Oct 2007 18:47 >>> Subject: Re: [Phpwiki-talk] User Authentication >>> To: "Discussion on PhpWiki features, bugs, development." >>> < php...@li... > >>> >>> >>> >>> >>> I've tried using the CategoryGroup page, and I can get the groups to appear >>> in the setacl page - but I can't seem to get the acl to work. >>> Really I want to use the DB option for the groups as well as the users - >>> that way it will hopefully be a lot easier to manage. >>> >>> I'm looking to be running one wiki with mutliple sections ie Company1, >>> Company2, Org1, Charity1 - most people will only be in one group ie >>> Company1Group, Company2Group, Org1Group, Charity1Group vut some will be in >>> more than one (they won't necessarily be administrators either) >>> I'd then like to define that further, so Company1Group is actualyl >>> Company1View, Company1Edit, Company1Create etc etc. >>> >>> Alastair >>> >>> >>> >>> On 16/10/2007, Reini Urban < ru...@x-...> wrote: >>>> Alastair Weller schrieb: >>>>> I've solved the user issue - however I now can't get my head around >>>>> the groups issue. >>>> Do you still need help about the groups? >>>> >>>> "CategoryGroup" has this: >>>> >>>> All links in this page will be used to find user groups for the >>>> WIKIPAGE group method. User group pages must contain a list of >>>> usernames, and then for consistency after four hyphens a link to this >>>> page. >>>> >>>> * [Administrators] >>>> >>>> So you have to create the page "Administrators" >>>> and list the names of users there. >>>> Like: >>>> >>>> * [MyTestUser] >>>> * [Real Name] >>>> >>>> >>>> and lock the pages. >> -- >> Reini Urban >> http://phpwiki.org/ http://murbreak.at/ >> http://spacemovie.mur.at/ http://helsinki.at/ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> Phpwiki-talk mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk >> > > > -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |
From: Alastair W. <lis...@al...> - 2007-12-08 12:47:23
|
Ah ok, I can see this first problem. I don't have a group table. Does anyone have the schema for this table? Alastair On 07/12/2007, Reini Urban <ru...@x-...> wrote: > Alastair Weller schrieb: > > I've tried to send this meesage to the sourceforge list but it doesn't > > seem like it got their. Is there a problem or does sourceforge hate > > gmail as much as gmail seems to hate mailing lists? > > From time to time gmail as any other major webmail site is blocked there. > > > ---------- Forwarded message ---------- > > From: Alastair Weller <lis...@al...> > > Date: 19 Nov 2007 13:48 > > Subject: Fwd: [Phpwiki-talk] Fwd: User Authentication > > To: "Discussion on PhpWiki features, bugs, development." > > <php...@li...> > > > > Have you any idea on how I could move to the MYSQL groups rather than > > CategoryGroups > > Sure, I do have. But unfortunately I'm on a business trip in the states > for the whole week without a lot of computer access. > > fill the group table with your names and check out the sql templates. > it should work out of the box. > > > > ---------- Forwarded message ---------- > > From: Alastair Weller <lis...@al... > > > Date: 23 Oct 2007 09:31 > > Subject: Re: [Phpwiki-talk] Fwd: User Authentication > > To: "Discussion on PhpWiki features, bugs, development." > > <php...@li... > > > > > > > Ok no worries - I'll have a play and follow up in 2 weeks. > > I seem to have sussed the ACL when using CategoryGroups > > > > Alastair > > > > On 23/10/2007, Reini Urban <ru...@x-...> wrote: > >> 2007/10/20, Alastair Weller < lis...@al... >: > >>> I sent this message a few days ago - but it hasn't shown up on the > >>> sourceforge.net Email Archive. > >>> Is the mailing list playing up and does anyone know how to use DB for group > >>> management? > >>> > >>> Alastair > >> I would know, but I'm for the next two weeks on holidays. Sorry. > >> > >>> ---------- Forwarded message ---------- > >>> From: Alastair Weller > >>> < lis...@al... > > >>> Date: 17 Oct 2007 18:47 > >>> Subject: Re: [Phpwiki-talk] User Authentication > >>> To: "Discussion on PhpWiki features, bugs, development." > >>> < php...@li... > > >>> > >>> > >>> > >>> > >>> I've tried using the CategoryGroup page, and I can get the groups to appear > >>> in the setacl page - but I can't seem to get the acl to work. > >>> Really I want to use the DB option for the groups as well as the users - > >>> that way it will hopefully be a lot easier to manage. > >>> > >>> I'm looking to be running one wiki with mutliple sections ie Company1, > >>> Company2, Org1, Charity1 - most people will only be in one group ie > >>> Company1Group, Company2Group, Org1Group, Charity1Group vut some will be in > >>> more than one (they won't necessarily be administrators either) > >>> I'd then like to define that further, so Company1Group is actualyl > >>> Company1View, Company1Edit, Company1Create etc etc. > >>> > >>> Alastair > >>> > >>> > >>> > >>> On 16/10/2007, Reini Urban < ru...@x-...> wrote: > >>>> Alastair Weller schrieb: > >>>>> I've solved the user issue - however I now can't get my head around > >>>>> the groups issue. > >>>> Do you still need help about the groups? > >>>> > >>>> "CategoryGroup" has this: > >>>> > >>>> All links in this page will be used to find user groups for the > >>>> WIKIPAGE group method. User group pages must contain a list of > >>>> usernames, and then for consistency after four hyphens a link to this > >>>> page. > >>>> > >>>> * [Administrators] > >>>> > >>>> So you have to create the page "Administrators" > >>>> and list the names of users there. > >>>> Like: > >>>> > >>>> * [MyTestUser] > >>>> * [Real Name] > >>>> > >>>> > >>>> and lock the pages. > >> -- > >> Reini Urban > >> http://phpwiki.org/ http://murbreak.at/ > >> http://spacemovie.mur.at/ http://helsinki.at/ > >> > >> ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Splunk Inc. > >> Still grepping through log files to find problems? Stop. > >> Now Search log events and configuration files using AJAX and a browser. > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ > >> _______________________________________________ > >> Phpwiki-talk mailing list > >> Php...@li... > >> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > >> > > > > > > > > > -- > Reini Urban > http://phpwiki.org/ http://murbreak.at/ > http://helsinki.at/ http://spacemovie.mur.at/ > -- P Before you print think about the ENVIRONMENT |
From: Reini U. <ru...@x-...> - 2007-12-08 13:11:23
|
Alastair Weller schrieb: > Ah ok, I can see this first problem. I don't have a group table. Does > anyone have the schema for this table? For a simple group:user 1:n relation just use the pref table and the groupname therein. For a more powerful group:user n:m relation (users may belong to multiple groups) use the seperate member table. -- Use the member table, if you need it for n:m user-group relations, -- and adjust your DBAUTH_AUTH_ SQL statements. CREATE TABLE member ( userid CHAR(48) BINARY NOT NULL, groupname CHAR(48) BINARY NOT NULL DEFAULT 'users', INDEX (userid), INDEX (groupname) ); > On 07/12/2007, Reini Urban <ru...@x-...> wrote: >> Alastair Weller schrieb: >>> I've tried to send this meesage to the sourceforge list but it doesn't >>> seem like it got their. Is there a problem or does sourceforge hate >>> gmail as much as gmail seems to hate mailing lists? >> From time to time gmail as any other major webmail site is blocked there. >> >>> ---------- Forwarded message ---------- >>> From: Alastair Weller <lis...@al...> >>> Date: 19 Nov 2007 13:48 >>> Subject: Fwd: [Phpwiki-talk] Fwd: User Authentication >>> To: "Discussion on PhpWiki features, bugs, development." >>> <php...@li...> >>> >>> Have you any idea on how I could move to the MYSQL groups rather than >>> CategoryGroups >> Sure, I do have. But unfortunately I'm on a business trip in the states >> for the whole week without a lot of computer access. >> >> fill the group table with your names and check out the sql templates. >> it should work out of the box. >> >> >>> ---------- Forwarded message ---------- >>> From: Alastair Weller <lis...@al... > >>> Date: 23 Oct 2007 09:31 >>> Subject: Re: [Phpwiki-talk] Fwd: User Authentication >>> To: "Discussion on PhpWiki features, bugs, development." >>> <php...@li... > >>> >>> >>> Ok no worries - I'll have a play and follow up in 2 weeks. >>> I seem to have sussed the ACL when using CategoryGroups >>> >>> Alastair >>> >>> On 23/10/2007, Reini Urban <ru...@x-...> wrote: >>>> 2007/10/20, Alastair Weller < lis...@al... >: >>>>> I sent this message a few days ago - but it hasn't shown up on the >>>>> sourceforge.net Email Archive. >>>>> Is the mailing list playing up and does anyone know how to use DB for group >>>>> management? >>>>> >>>>> Alastair >>>> I would know, but I'm for the next two weeks on holidays. Sorry. >>>> >>>>> ---------- Forwarded message ---------- >>>>> From: Alastair Weller >>>>> < lis...@al... > >>>>> Date: 17 Oct 2007 18:47 >>>>> Subject: Re: [Phpwiki-talk] User Authentication >>>>> To: "Discussion on PhpWiki features, bugs, development." >>>>> < php...@li... > >>>>> >>>>> >>>>> >>>>> >>>>> I've tried using the CategoryGroup page, and I can get the groups to appear >>>>> in the setacl page - but I can't seem to get the acl to work. >>>>> Really I want to use the DB option for the groups as well as the users - >>>>> that way it will hopefully be a lot easier to manage. >>>>> >>>>> I'm looking to be running one wiki with mutliple sections ie Company1, >>>>> Company2, Org1, Charity1 - most people will only be in one group ie >>>>> Company1Group, Company2Group, Org1Group, Charity1Group vut some will be in >>>>> more than one (they won't necessarily be administrators either) >>>>> I'd then like to define that further, so Company1Group is actualyl >>>>> Company1View, Company1Edit, Company1Create etc etc. >>>>> >>>>> Alastair >>>>> >>>>> >>>>> >>>>> On 16/10/2007, Reini Urban < ru...@x-...> wrote: >>>>>> Alastair Weller schrieb: >>>>>>> I've solved the user issue - however I now can't get my head around >>>>>>> the groups issue. >>>>>> Do you still need help about the groups? >>>>>> >>>>>> "CategoryGroup" has this: >>>>>> >>>>>> All links in this page will be used to find user groups for the >>>>>> WIKIPAGE group method. User group pages must contain a list of >>>>>> usernames, and then for consistency after four hyphens a link to this >>>>>> page. >>>>>> >>>>>> * [Administrators] >>>>>> >>>>>> So you have to create the page "Administrators" >>>>>> and list the names of users there. >>>>>> Like: >>>>>> >>>>>> * [MyTestUser] >>>>>> * [Real Name] >>>>>> >>>>>> >>>>>> and lock the pages. >>>> -- >>>> Reini Urban >>>> http://phpwiki.org/ http://murbreak.at/ >>>> http://spacemovie.mur.at/ http://helsinki.at/ >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Splunk Inc. >>>> Still grepping through log files to find problems? Stop. >>>> Now Search log events and configuration files using AJAX and a browser. >>>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>>> _______________________________________________ >>>> Phpwiki-talk mailing list >>>> Php...@li... >>>> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk >>>> >>> >>> >> >> -- >> Reini Urban >> http://phpwiki.org/ http://murbreak.at/ >> http://helsinki.at/ http://spacemovie.mur.at/ >> > > -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |