From piotr at dybczynski.pl Sun Oct 19 23:00:54 2025 From: piotr at dybczynski.pl (=?utf-8?Q?Piotr_Dybczy=C5=84ski?=) Date: Mon, 20 Oct 2025 06:00:54 +0000 Subject: [pmwiki-users] please help with passwords Message-ID: <5b29a1ec-bfc4-4445-9f00-1462150a2fdf@dybczynski.pl> Hi all! In all my wikis I am the only person who have edit rights (these work mainly as Content Management System), in fact using admin password. Some groups are password protected and some are public. But now I want to allow may colleague to read and edit (and upload) pages in a dedicated new group. I set read, edit and upload passwords for this group by means of GroupAttributes?action=attr Reading works OK after entering password but my colleague cannot edit since he has no right to read Site.EditForm. In local/config.php I have default passwords for admin,attr,read,edit and upload. Should I modify this? I do not use authuser. I have separate config for this group - should I put something special into it? Thanks in advance, Piotr -- /*********************************************************************** dr Piotr A. Dybczy?ski homepage: https://www.dybczynski.pl/Piotr e-mail: piotr at dybczynski.pl *****************************************************************PAD***/ From piotr at dybczynski.pl Mon Oct 20 00:46:38 2025 From: piotr at dybczynski.pl (=?utf-8?Q?Piotr_Dybczy=C5=84ski?=) Date: Mon, 20 Oct 2025 07:46:38 +0000 Subject: [pmwiki-users] please help with passwords In-Reply-To: <5b29a1ec-bfc4-4445-9f00-1462150a2fdf@dybczynski.pl> References: <5b29a1ec-bfc4-4445-9f00-1462150a2fdf@dybczynski.pl> Message-ID: Well, I have repaired it myself. But before I fixed it: when I received an error message, in the 'More info' I see: PmWiki was unable to find or load the Site.EditForm page ... but in fact I need to make readable other page: Site.Popup-EditForm Piotr -- /*********************************************************************** dr Piotr A. Dybczy?ski homepage: https://www.dybczynski.pl/Piotr e-mail: piotr at dybczynski.pl *****************************************************************PAD***/ W dniu 20.10.2025 o?08:00, Piotr Dybczy?ski pisze: > Hi all! > > In all my wikis I am the only person who have edit rights (these work > mainly as Content Management System), in fact using admin password. > Some groups are password protected and some are public. > > But now I want to allow may colleague to read and edit (and upload) > pages in a dedicated new group. > > I set read, edit and upload passwords for this group by means of > GroupAttributes?action=attr > > Reading works OK after entering password but my colleague cannot edit > since he has no right to read Site.EditForm. > > In local/config.php I have default passwords for admin,attr,read,edit > and upload. Should I modify this? I do not use authuser. > > > I have separate config for this group - should I put something special > into it? > > Thanks in advance, > Piotr > -- > /*********************************************************************** > dr Piotr A. Dybczy?ski > homepage: https://www.dybczynski.pl/Piotr > e-mail: piotr at dybczynski.pl > *****************************************************************PAD***/ > > > > _______________________________________________ > pmwiki-users mailing list > pmwiki-users at pmichaud.com > http://www.pmichaud.com/mailman/listinfo/pmwiki-users From 5ko at 5ko.fr Mon Oct 20 01:29:47 2025 From: 5ko at 5ko.fr (Petko Yotov) Date: Mon, 20 Oct 2025 10:29:47 +0200 Subject: [pmwiki-users] please help with passwords In-Reply-To: References: <5b29a1ec-bfc4-4445-9f00-1462150a2fdf@dybczynski.pl> Message-ID: <9350c87e6a796081072750ad860a7e19@5ko.fr> Usually the Site wikigroup contains configurations, forms, pagelist and other templates, that are not private or sensitive, except possibly the page Site.AllRecentChanges. In your case, the wiki is read-protected but different people with different permissions need to edit: 1. If the person can read the whole wiki, you can add the new password hash to the $DefaultPasswords['read'] array in config.php. This should make the pages in the Site group accessible to this person. Otherwise: 2. You can set the read password for Site.GroupAttributes?action=attr to either @nopass (simpler), or to the password of the non-admin user (may be more complex to maintain if you add or change editors). If Site.AllRecentChanges is sensitive, you could set its read password to @lock which would restrict it to the admin user. Petko P.S. Site.Popup-EditForm is not the standard edit form, probably enabled by a skin or a recipe. On 20/10/2025 09:46, Piotr Dybczy?ski wrote: > Well, I have repaired it myself. > > But before I fixed it: > > when I received an error message, in the 'More info' I see: > > PmWiki was unable to find or load the Site.EditForm page ... > > but in fact I need to make readable other page: Site.Popup-EditForm > > W dniu 20.10.2025 o?08:00, Piotr Dybczy?ski pisze: >> Hi all! >> >> In all my wikis I am the only person who have edit rights (these work >> mainly as Content Management System), in fact using admin password. >> Some groups are password protected and some are public. >> >> But now I want to allow may colleague to read and edit (and upload) >> pages in a dedicated new group. >> >> I set read, edit and upload passwords for this group by means of >> GroupAttributes?action=attr >> >> Reading works OK after entering password but my colleague cannot edit >> since he has no right to read Site.EditForm. >> >> In local/config.php I have default passwords for admin,attr,read,edit >> and upload. Should I modify this? I do not use authuser. >> >> >> I have separate config for this group - should I put something special >> into it? >>