Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    How to set the permission of a folder

    Scripting
    1
    1
    289
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bruno
      bruno last edited by

      Hi
      I’m new to kopano and try to share calendars with everyone.
      How do I add a permission? Do I need a keyword?
      My code:

      #!/usr/bin/env python
      import kopano
      
      k = kopano.Server()
      store = kopano.user('str').store
      cal = store.calendar
      
      print (cal.count)
      print(cal.permissions())
      
      # try to share the calendar with everyone. This is not working:
      cal.permission.append("everyone", "read_items")
      

      An example in the Reference would be appreciated (https://documentation.kopano.io/kopano_python_kopano/function_reference.html#permission)
      Thank you!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post