You are here: Foswiki>Tasks Web>Item555 (04 Jan 2015, GeorgeClark)Edit Attach
I think the search implementing SitePermissions needs adjustment.

Although SitePermissions is fine and useful for normal webs it fails to pick up and display the permissions for hierarchical webs.

This is what I get on my IndigoPerl Windows install. I'd appreciate someone tests it elsewhere.

MC

Enhancement. Deferred. CC

Niall McCullagh wrote in an email to Martin Cleaver:

> Martin,
> I’ve just got a little question in regards to bug item 555. I
> was also experiencing the same problem.
>
> This also seems to manifest in that groups and recent changes
> are not working either. And if you are running mod_perl this really screws up the page.
>
> Changing tactics I thought I would install activeperl, but it to
> shows the exact same problem.
>
> When I use cygwin perl everything works as expected.
>
> Have you any ideas on how to fix this?
>
> My machine setup is:
>
> Windows 2000 Server (also Windows XP at home)
>
> Cgywin
>
> Apache 2
>
> Indigo Perl or Active Perl 5.8.xxx
>
> Regards, Niall

Just a note, in hierarchical webs, permissions are inherited from the parent web and overridden locally. If the parent web overrides Site permissions, child webs are affected as well.

- TWiki:Main.PeterNixon - 06 Nov 2005
Niall McCullagh wrote in an email to PTh:

> I was wondering if you would take a look at the above bug
> as it affects TWiki on the windows platform it they run
> any other perl than cygwin perl. I know they are quiet a
> few windows users out there that TWiki on windows without
> cygwin perl and for myself and them TWiki permissions will
> be broken.
>
> Cygwin perl is an absolute nightmare to try and get mod_perl
> installed on it. So it would be great to get this one fixed
> before Dakar release.

-- PTh


Niall, this item relates to SitePermissions, please don't pervert it to ask other questions, or they will just get lost/ignored.

Other people are using cygwin and mod_perl on windows platforms without issues, so this is probably something to do with your local setup. You don't give enough information in Item555 to debug, so can I suggest the following course of action:

  1. Create a new problem report in Bugs web that is related to your problem instead of SitePermissions
  2. Indicate which beta release you are running
  3. Explain what "really screws up the page" actually means. What behaviour is seen?
  4. Explain what "groups and recent changes are not working" means. What behaviour is seen that you think is wrong?

For fastest support, drop by IRC and ask there.

CC

Undeferred, post Dakar CC


Seems to be working fine on Foswiki 1.2. Setting to No Action.

-- Main.GeorgeClark - 04 Jan 2015 - 23:14

ItemTemplate edit

Summary TWiki.SitePermissions does not work with HierarchicalWebs
ReportedBy MartinCleaver
Codebase
SVN Range
AppliesTo Engine
Component SubWebs
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease major
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r10 - 04 Jan 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy