Oups, sorry for my slow replay, too much traffic lately.
I think I have followed both the archives and the FAQ
in order to
prevent
access to part of my (Squeak) SmallWiki by the anonymous user:
server root roles: (OrderedCollection with: server
defaultRoleAnonymous).
(server root at: 'Secret') roles:
(OrderedCollection with: (SWBasicRole name: 'anonymous'))
That looks perfectly correct for me. I don't understand why it doesn't
work for you. I suspect, you don't even need the first line of code.
I have stepped through the code but I can't see
what is responsible for
preventing the permissions being added from the root role when the
role is
specified on the child with an empty set of permissions. I can see the
barrier logic, but this isn't a barrier role, and all the rest of the
behaviour seems to add the permissions from the root back. Hence I
can see
the page as the anonymous user?
Strange, why the heck there is a barrier role in your image? This is
actually not part of the base package of SmallWiki. As far as I know it
changes some critical messages in the security framework, so it might
have broken something. David Vogel can you help here?
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch