How to couple roles to pages/folder?
Bert Freudenberg
bert at impara.de
Mon Aug 29 23:54:57 MEST 2005
Am 29.08.2005 um 18:10 schrieb Lukas Renggli:
>>> After talking with a colleague it appears that you can indeed not
>>> "take away" permissions in a subfolder, all permissions are
>>> inherited.
>>>
>>
>> Actually - you can. My smallwiki 1 (Squeak) does just that: its root
>> folder is viewable by all, and one of its subfolder is private. I
>> don't have direct access to its image right now, but as I remember
>> the
>> key is to re-specify (override) a role's permissions on the
>> subfolder.
>>
>
> Indeed, in every structure you are able to redefine (override) the
> roles: Just add a new role with the same name but different
> permissions to your structure and from there on in the tree those
> permissions will be used.
>
> As an example have a look at the following tree where the anonymous-
> role is initially defined in the root but redefined (overridden) in
> two of its sub folders:
>
> Root-Folder (anonymous: #( view edit ))
> Read/Write-Subwiki
> Readonly-Subwiki (anonymous: #( view )
> Private-Subwiki (anonymous: #( ))
Good to hear :-) This is what I had in memory, but I wasn't sure.
Maybe by loading the advanced permission admin tool (not sure what
it's called) this is changed?
- Bert -
More information about the SmallWiki
mailing list