Page 1 of 1

Go through users and allow sharing of calendar to all staff

Posted: Mon Jul 23, 2007 12:53 pm
by adhodgson
Hi,

I need to set all staff so that the calendar is visible to all other staff - for read only access. This is a big brother issue. I know Exchange can't do this either very well, so I am quite happy if we can't do this (I am not keen to share my calendar with *everyone* in the company!).

I was sort of thinking of doing a script which went through all users, and shared the calendar file through omaddacl, is this viable or re-inventing the wheel?
Thanks.
Andrew.

Posted: Mon Jul 23, 2007 1:42 pm
by Derek
You'll probably need to write it. But you'll probably want to use something that tries ommodacl first, if it fails then use omaddacl. That way you could run it <insert interval> to get any new users and/or change it back to +read should someone change it.

Posted: Tue Jul 24, 2007 4:38 am
by Valerion
I don't think om*acl can handle folders in a mailbox.

if you look in /var/opt/scalix/??/s/sys/acl.cfg the following resource types are defined:

Directory ACLs
Request Server ACLs
SAC Script ACLs
Service ACLs
Print Server ACLs
Bulletin Board ACLs

Scalix offers discretionary access control, not mandatory access control to a mailbox.

Posted: Tue Jul 24, 2007 9:53 am
by Derek
Then what is used to control permissions on personal folders, i.e. delegates? Or, in Outlook, right-click on a folder, select Properties, then Permissions. How is this handled?

Posted: Tue Jul 24, 2007 10:02 am
by Valerion
This is fully handled by the client, either Outlook or SWA. The permissions are stored in the mailbox (probably as properties attached to the relevant folder).

Would be nice to have a server-side way of setting it up.

Of course, if you understand the UAL protocol that Outlook uses, or the IMAP extensions for SWA you can write something that uses that to change the permissions for all users.