Hi,
I have recently installed SmallWiki and I am having a few problems with user
permissions. I wanted to first see if there was something obvious that I had
missed.
I have created a new user and added both the anonymous role and a new 'basic'
role that I have created. I have added to this later role the edit page
permission. I have then added this user to the server instance.
I login as the admin user and create a page and edit its content. I then
logout and log back in as my new user. Unfortunately this new user doesn't
have permission to edit the page. I have subsequently added all the
permissions to my new user's basic role but it doesn't allow the user to edit
the page. I can only edit the content as the admin user.
I have tried to debug this situation. At the point that the available
commands are rendered to the top of the test page, my user's basic role has
an empty set of permissions. I have checked the user in the server instance
and it does have the correct set of permissions.
I have dug a bit further and it seems that
SWStructure>>processSecurity:
removes the roles from my user if at the server root and then updates the
roles with the current roles instance variable from the root folder instance.
Since this roles instance variable only has the anonymous role in I don't get
to edit the page. Do I need to get my role into this roles variable on the
root folder instance?
I'm guessing I have got something wrong in my configuration? Any help
appreciated.
Thanks
Mike