Allowing read-only sharing of calendars between users?
Hi all, I can't seem to find this information anywhere. I have about 5 users with separate accounts and their own calendars. I want every user to have read/write access to their own calendar, but read-only access to all other users' calendars. How can I accomplish this? Thanks, Nick "nutbar" Legg
You can use the command line tool to edit the ACL's. http://trac.macosforge.org/projects/calendarserver/wiki/CalDAVClientLibrary I added read only in acl position 1 for all logged in users. This may be some handy context in getting around the process: http://wantedfornerder.blogspot.com/2008/04/darwin-calendar-server-client-to... Cheers, tack On Apr 24, 2008, at 5:44 PM, Nick wrote:
Hi all,
I can't seem to find this information anywhere. I have about 5 users with separate accounts and their own calendars. I want every user to have read/write access to their own calendar, but read-only access to all other users' calendars. How can I accomplish this?
Thanks, Nick "nutbar" Legg _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
tack, Thanks for your reply. It works (mostly), but I have one problem. When I'm typing "acl -i calendars/users/$USERNAME/calendar", I cannot type the letter "b". There is absolutely no effect when I hit the "b" key. All other keys seem to work as expected. Have you run into this problem? Thanks, nutbar PS - my username has a 'b' in it so I'm seemingly out of luck tack wrote:
You can use the command line tool to edit the ACL's.
http://trac.macosforge.org/projects/calendarserver/wiki/CalDAVClientLibrary
I added read only in acl position 1 for all logged in users. This may be some handy context in getting around the process:
http://wantedfornerder.blogspot.com/2008/04/darwin-calendar-server-client-to...
Cheers, tack
On Apr 24, 2008, at 5:44 PM, Nick wrote:
Hi all,
I can't seem to find this information anywhere. I have about 5 users with separate accounts and their own calendars. I want every user to have read/write access to their own calendar, but read-only access to all other users' calendars. How can I accomplish this?
Thanks, Nick "nutbar" Legg _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
I haven't. Though, I haven't tried this for users with b in the name. I remember troubleshooting a printer for an hour once before realizing it wasn't plugged into the network, so my first inclination is swapping out the keyboard for sanity's sake, then pasting in the username from another doc after that to see if the terminal is filtering b out of input. cheers, tack On Apr 24, 2008, at 8:39 PM, Nick wrote:
tack,
Thanks for your reply. It works (mostly), but I have one problem. When I'm typing "acl -i calendars/users/$USERNAME/calendar", I cannot type the letter "b". There is absolutely no effect when I hit the "b" key. All other keys seem to work as expected. Have you run into this problem?
Thanks, nutbar
PS - my username has a 'b' in it so I'm seemingly out of luck
tack wrote:
You can use the command line tool to edit the ACL's.
http://trac.macosforge.org/projects/calendarserver/wiki/CalDAVClientLibrary
I added read only in acl position 1 for all logged in users. This may be some handy context in getting around the process:
http://wantedfornerder.blogspot.com/2008/04/darwin-calendar-server-client-to...
Cheers, tack
On Apr 24, 2008, at 5:44 PM, Nick wrote:
Hi all,
I can't seem to find this information anywhere. I have about 5 users with separate accounts and their own calendars. I want every user to have read/write access to their own calendar, but read-only access to all other users' calendars. How can I accomplish this?
Thanks, Nick "nutbar" Legg _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
I have implemented a simple hack to get around this "b" key issue. I presume the code is Mac-specific so it behaves oddly on my GNU/Linux machine? Anyway, in baseshell.py the line 'readline.parse_and_bind("bind ^I rl_complete")' causes the "b" issue on my box. The fix (for me at least) is to change this line in to 'readline.parse_and_bind("tab: complete")'. I imagine there are several other (and certainly better) ways to fix this, but it works for me and I'm not likely to need to change ACLs much more now that they're set up. If there are any horrible implications of what I've done I haven't encountered them yet. One upside is that with my patch the shell tool now allows for tab-completion. Attached is the patch file. -nutbar tack wrote:
I haven't. Though, I haven't tried this for users with b in the name. I remember troubleshooting a printer for an hour once before realizing it wasn't plugged into the network, so my first inclination is swapping out the keyboard for sanity's sake, then pasting in the username from another doc after that to see if the terminal is filtering b out of input.
cheers, tack
On Apr 24, 2008, at 8:39 PM, Nick wrote:
tack,
Thanks for your reply. It works (mostly), but I have one problem. When I'm typing "acl -i calendars/users/$USERNAME/calendar", I cannot type the letter "b". There is absolutely no effect when I hit the "b" key. All other keys seem to work as expected. Have you run into this problem?
Thanks, nutbar
PS - my username has a 'b' in it so I'm seemingly out of luck
tack wrote:
You can use the command line tool to edit the ACL's.
http://trac.macosforge.org/projects/calendarserver/wiki/CalDAVClientLibrary
I added read only in acl position 1 for all logged in users. This may be some handy context in getting around the process:
http://wantedfornerder.blogspot.com/2008/04/darwin-calendar-server-client-to...
Cheers, tack
On Apr 24, 2008, at 5:44 PM, Nick wrote:
Hi all,
I can't seem to find this information anywhere. I have about 5 users with separate accounts and their own calendars. I want every user to have read/write access to their own calendar, but read-only access to all other users' calendars. How can I accomplish this?
Thanks, Nick "nutbar" Legg _______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
--- src/browser/baseshell.py 2008-04-25 13:54:19.000000000 -0400 +++ src/browser/baseshell.py 2008-04-25 13:51:25.000000000 -0400 @@ -62,7 +62,8 @@ class BaseShell(object): map(readline.add_history, self.history) readline.set_completer(self.complete) - readline.parse_and_bind("bind ^I rl_complete") + #readline.parse_and_bind("bind ^I rl_complete") + readline.parse_and_bind("tab: complete") while True: cmdline = raw_input("%s > " % (self.prefix,))
participants (2)
-
Nick
-
tack