Page 1 of 1

Permissions on Public Folders and other questions.

Posted: Thu Dec 22, 2005 6:53 pm
by nader
Hi,

I installed the community edition on FC4, and after jumping through sevral hoops, I finally got it to work with Outlook Connector etc. including the Public Folders.

That being said, please bear with me, I am a Linux noob, not to mention scalix.

This morning, I issued the following command at the console:

omaddbb -s General

That gave me a "General" subdirectory under "Public Folders" in outlook.
I then successfully added a "Tasks" subfolder under "General". I went into the new
Tasks subfolder I created and tried to add a new field, using the field chooser functionality in outlook. That worked, but only temporarily becuase when I clicked on another folder item in my tree I got a message saying:

"You do not have permissions to make this change", and the new field I added disappeared.

So I decided to read up on permissions, and started playing aroung with omaddacln. I went to the cosole and issued this command:

omlistbbs -b and got:
[root@dcd ~]# omlistbbs -b
1057 BULLETIN BOARD AREA (no owner)
30593 General (no owner)

I then issued the following command:
omaddacln -t bulletin -b 1057 -g default -c config

After I issued the above command, and very possibly and few others, when I try to click on my Public Folders in outlook it tells me "Unable to display this folder. You do not have permissions to perform this operation".

My questions are:

1 - How can I reset the permission on the Public Folder to "Factory Settings" without having to re-install scalix? I already copied my mailbox, and would hate to redo all that work.
2 - How do I set the permissions on any folder so that users in a group (eg Engineering) can change the Fields that are visible?

Posted: Fri Dec 23, 2005 7:28 am
by jg
Well I think you've done pretty well to get as far as you've got given that you said you are very new to this.

First point is that Scalix doesn't currently support modification of views on Public Folders, with the right permissions you can change the view, but as soon as you click away from the folder you'll be told the view definition can not be persisted.

No matter what permissions you set you won't be able to persist a view change in a folder under Public Folders. Depending on your requirement and the number of people that need to access the folder you might want to consider making this a private folder in a mailbox and then sharing this to other Outlook users via Delegate access.

To "reset" your permissions...

If I create a new Public Folder and then list the permissions (via omshowacl) I see:

Code: Select all

Scalix Administrators                    config read see delete attach
Local Users                              none
Default                                  read see attach

Your command:

Code: Select all

omaddacln -t bulletin -b 1057 -g default -c config


effectively removed the read/see/attach permissions for the default group.

A word about these groups, the permissions are cumulative.

So, a user with Scalix Admin capability (given by omaddu .... -c admin) gets the Admin caps, local user caps and default. A local user with get the local user caps and the default. Anyone else will get just default, this really only applies if someone tries to mail an item to the Public Folder from another server.

So, to restore the "default" permissions you need to issue:

Code: Select all

ommodacln -t bb -b 1057 -g default -c +read +see +attach -config


You can check the permissions setting via:

Code: Select all

omshowacl -t bb -b 1057


to see that it worked.

Hope that helps.
Cheers,
JG

Posted: Fri Dec 23, 2005 9:25 am
by nader
Thanks for that! That did the trick!
Also, thanks for the "delegation" suggestion! Great workaround...

Keep up the good work guys. I wish you all the best....

Nader.