nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
977 stars 240 forks source link

Unable to unshare a calendar that was shared with you by another person #2702

Closed Ramdane34 closed 1 year ago

Ramdane34 commented 3 years ago

Hello, Thank you for taking my remark into account. I just noticed that it is impossible to delete a calendar that was shared by another person. You must send an email to the person who shared their calendar to stop sharing. It's a bit annoying Thank you

raimund-schluessler commented 3 years ago

Unsharing is implemented, see the screenshot:

unshare
Ramdane34 commented 3 years ago

Hello, Thank you for answering. when I do what you tell me I have this as an error: Thank you image

raimund-schluessler commented 3 years ago

Please fill the issue template completely. Otherwise we cannot help you.

Ramdane34 commented 3 years ago

Check your bug report before submitting it

Please always check if the automatically filled out information is correct and there is nothing important missing, before reporting the issue.

This report will be submitted to nextcloud/server Steps to reproduce

Hello, Thank you for taking my remark into account. I just noticed that it is impossible to delete a calendar that was shared by another person. You must send an email to the person who shared their calendar to stop sharing. It's a bit annoying Thank you Expected behaviour

delete Actual behaviour

error Server configuration detail

Operating system: Linux 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64

Webserver: Apache/2.4.25 (Debian) (apache2handler)

Database: mysql 10.3.24

PHP version:

7.3.21-1+0~20200807.66+debian9~1.gbp18a1c2 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, bcmath, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, json, exif, msgpack, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, smbclient, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, memcached, libsmbclient, Zend OPcache

Nextcloud version: 19.0.4 - 19.0.4.2

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown Signing status Array ( ) List of activated apps Enabled: - accessibility: 1.5.0 - activity: 2.12.1 - admin_audit: 1.9.0 - announcementcenter: 3.8.1 - apporder: 0.11.0 - bookmarks: 3.4.9 - breezedark: 19.0.7 - bruteforcesettings: 2.0.1 - calendar: 2.0.4 - cloud_federation_api: 1.2.0 - cms_pico: 1.0.10 - comments: 1.9.0 - contacts: 3.4.1 - contactsinteraction: 1.0.0 - data_request: 1.6.0 - dav: 1.15.0 - documentserver_community: 0.1.8 - drawio: 0.9.7 - drop_account: 0.2.1 - encryption: 2.7.0 - event_update_notification: 1.0.2 - external: 3.6.0 - federatedfilesharing: 1.9.0 - federation: 1.9.0 - files: 1.14.0 - files_accesscontrol: 1.9.1 - files_automatedtagging: 1.9.0 - files_downloadactivity: 1.8.0 - files_external: 1.10.0 - files_fulltextsearch: 1.4.3 - files_linkeditor: 1.1.2 - files_markdown: 2.3.1 - files_mindmap: 0.0.23 - files_pdfviewer: 1.8.0 - files_rightclick: 0.16.0 - files_sharing: 1.11.0 - files_trackdownloads: 1.8.0 - files_trashbin: 1.9.0 - files_versions: 1.12.0 - files_versions_s3: 0.1.3 - firstrunwizard: 2.8.0 - flowupload: 1.1.2 - forms: 2.0.4 - fulltextsearch: 1.4.2 - fulltextsearch_elasticsearch: 1.5.2 - group_everyone: 0.1.6 - impersonate: 1.6.1 - issuetemplate: 0.7.0 - ldap_write_support: 1.1.0 - login_notes: 0.3.0 - logreader: 2.4.0 - lookup_server_connector: 1.7.0 - maps: 0.1.6 - metadata: 0.12.0 - news: 14.2.2 - nextcloud_announcements: 1.8.0 - notifications: 2.7.0 - oauth2: 1.7.0 - ocsms: 2.1.8 - onlyoffice: 6.1.0 - password_policy: 1.9.1 - photos: 1.1.0 - polls: 1.5.7 - privacy: 1.3.0 - provisioning_api: 1.9.0 - quota_warning: 1.8.0 - recommendations: 0.7.0 - serverinfo: 1.9.0 - settings: 1.1.0 - sharebymail: 1.9.0 - sharingpath: 0.2.5 - socialsharing_twitter: 2.1.0 - spreed: 9.0.5 - support: 1.2.1 - survey_client: 1.7.0 - systemtags: 1.9.0 - talk_simple_poll: 1.2.0 - tasks: 0.13.6 - text: 3.0.1 - theming: 1.10.0 - theming_customcss: 1.6.0 - twofactor_backupcodes: 1.8.0 - unsplash: 1.1.7 - updatenotification: 1.9.0 - user_saml: 3.2.1 - user_usage_report: 1.3.3 - viewer: 1.3.0 - workflow_pdf_converter: 1.4.0 - workflow_script: 1.4.0 - workflowengine: 2.1.0 Disabled: - appointments - circles - dashboardcharts - deck - files_retention - files_videoplayer - globalsiteselector - gpxedit - groupfolders - groupquota - mail - occweb - ojsxc - passwords - rainloop - richdocuments - socialsharing_email - terms_of_service - user_ldap - w2g2 Configuration (config/config.php) { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "192.168.0.30", "192.168.0.254", "78.193.81.76:710" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "19.0.4.2", "overwrite.cli.url": "https:\/\/192.168.0.30", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "onlyoffice": { "verify_peer_off": true }, "theme": "", "loglevel": 0, "maintenance": false, "default_language": "fr", "default_locale": "fr", "defaultapp": "announcementcenter", "knowledgebaseenabled": false, "session_lifetime": 7200, "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpsecure": "ssl", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpauthtype": "PLAIN", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "has_rebuilt_cache": true, "data-fingerprint": "15677b28727ca35477d34b50aa8d4eb6", "updater.release.channel": "stable" }

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: 1

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... Client configuration

Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:82.0) Gecko/20100101 Firefox/82.0

Operating system:

tcitworld commented 3 years ago

Please post the end of the bug template as well, we need the Nextcloud log file (data/nextcloud.log) and your browser logs as well.

Ramdane34 commented 3 years ago

{"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"No flow configurations is going to run Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"} {"reqId":"7AGYP5pBxUcYX6SUH82e","level":0,"time":"2020-11-23T09:33:04+00:00","remoteAddr":"192.168.0.254","user":"admin","app":"workflowengine","method":"PROPFIND","url":"/remote.php/dav/files/admin/Ressources%20Formateurs/Projet%20Pro/6%20-%20Acquisition%20premiers%20gestes%20et%20postures%20professionnels/vente%201/Grande%20Distribution","message":"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier","userAgent":"Mozilla/5.0 (Windows) mirall/3.0.3stable-Win64 (build 20201029) (Nextcloud)","version":"19.0.5.2"}

raimund-schluessler commented 3 years ago

Please give the nextcloud and browser log with logs corresponding to your problem (shortly before trying to delete the calendar and shortly after). What you posted are just unrelated logs from the workflowengine (or at least I didn't spot anything related).

Ramdane34 commented 3 years ago

Please take care of my problem: does this line give you a clue ? {"reqId":"f3QKR53GFwiwziSVTl1D" | level:0 | time:"2020-11-23T15:27:55+00:00" | remoteAddr:"192.168.0.254" | user:"admin" | app:"workflowengine" | method:"POST" | url:"/index.php/apps/text/session/sync" | message:"Flow activation: rules were requested for operation Bloquer l'acc\u00e8s \u00e0 un fichier" | userAgent:"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0" | version:"19.0.5.2"}

raimund-schluessler commented 3 years ago

No, as all other log entries above, this is unrelated to your issue. It should state something with Calendar or DAV. What you show are entries from the text app.

tcitworld commented 3 years ago

@Ramdane34 Please post your browser logs as well since they will contain the error. Enter the F12 key, click on the Console tab, perform the delete action in Nextcloud and paste the messages here.

Ramdane34 commented 3 years ago

here is my browser's log : jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 224 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 4 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 113 globals.js:61:15 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 227 globals.js:61:15 XHRDELETEhttps://78.193.81.76:710/remote.php/dav/calendars/admin/personal_shared_by_AhmedKI/ [HTTP/1.1 403 Forbidden 245ms]

DELETE https://78.193.81.192:888/remote.php/dav/calendars/admin/personal_shared_by_AhmedKI/ État403 Forbidden VersionHTTP/1.1 Transfert770 o (taille 182 o)

Cache-Control
    no-store, no-cache, must-revalidate
Connection
    Keep-Alive
Content-Length
    182
Content-Security-Policy
    default-src 'none';
Content-Type
    application/xml; charset=utf-8
Date
    Tue, 24 Nov 2020 07:53:36 GMT
Expires
    Thu, 19 Nov 1981 08:52:00 GMT
Keep-Alive
    timeout=5, max=100
Pragma
    no-cache
Referrer-Policy
    no-referrer
Server
    Apache/2.4.25 (Debian)
X-Content-Type-Options
    nosniff
X-Download-Options
    noopen
X-Frame-Options
    SAMEORIGIN
X-Permitted-Cross-Domain-Policies
    none
X-Robots-Tag
    none
X-XSS-Protection
    1; mode=block

Accept
    */*
Accept-Encoding
    gzip, deflate, br
Accept-Language
    fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
Connection
    keep-alive
Content-Type
    application/xml; charset=utf-8
Cookie
    PVELangCookie=fr; __Host-nc_sameSiteCookielax=true; __Host-nc_sameSiteCookiestrict=true; nc_username=admin; nc_token=T0NOciHO2dj5%2FYKhXTsk0vy2YeOFlmV%2B; nc_session_id=i5ks6enlh1a48h5soa43vo24u7; oc79vwhtpg7n=i5ks6enlh1a48h5soa43vo24u7; oc_sessionPassphrase=vuHOFRvhLXDyIHO3rbnUVG%2FEPgcDp7BuYvl3VKBH7cXYHoqjFjeYQHCNS%2FmcIrzJRPoc48VVBA5J6xxmbUnW0yzmM9jUuZxeCU4TVRyTlf9YATL0AKAW8tYYHWF2eHFK
Depth
    0
DNT
    1
Host
    78.193.81.192:888
Origin
    https://78.193.81.192:888
requesttoken
    rzOmI27Gs34Qwo1fdm8P5aghu/QH6uCJZSYTEo+ASlw=:2HHQTiqp0FVH8swvI0RMjvpV3NtUvtbPUUR7OcjWOTQ=
User-Agent
    Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
X-NC-CalDAV-Webcal-Caching
    On
X-Requested-With
    XMLHttpRequest

Error: D calendar.js:2 r calendar.js:2 r calendar.js:2 o attachError.js:36 t calendar.js:2 n calendar.js:2 t calendar.js:2 n calendar.js:2 onreadystatechange request.js:353 e request.js:343 e request.js:342 l runtime.js:63 _invoke runtime.js:293 v runtime.js:118 me calendar.js:2 s calendar.js:2 pe calendar.js:2 pe calendar.js:2 value calendar.js:2 e request.js:134 l runtime.js:63 _invoke runtime.js:293 v runtime.js:118 me calendar.js:2 s calendar.js:2 pe calendar.js:2 pe calendar.js:2 value calendar.js:2 e davCollection.js:211 l runtime.js:63 _invoke runtime.js:293 v runtime.js:118 Le calendar.js:2 s calendar.js:2 Ye calendar.js:2 Ye calendar.js:2 value davCollection.js:33 n calendars.js:528 l runtime.js:63 _invoke runtime.js:293 v runtime.js:118 FE calendar.js:2 s calendar.js:2 LE calendar.js:2 LE calendar.js:2 deleteCalendar calendars.js:527 g vuex.esm.js:847 dispatch vuex.esm.js:512 dispatch vuex.esm.js:402 t CalendarListItem.vue:338 l runtime.js:63 _invoke runtime.js:293 v runtime.js:118 qm calendar.js:2 s calendar.js:2 ep calendar.js:2 ep calendar.js:2 setTimeout handler*deleteCalendar CalendarListItem.vue:336 click CalendarListItem.vue:250 VueJS 4 onClick ActionButton.js:43 VueJS 33 CalendarListItem.vue:341 t CalendarListItem.vue:341 l runtime.js:63 _invoke runtime.js:293 v runtime.js:118 qm calendar.js:2 a calendar.js:2 (Asynchrone : promise callback) qm calendar.js:2 s calendar.js:2 ep calendar.js:2 ep calendar.js:2 (Asynchrone : setTimeout handler) deleteCalendar CalendarListItem.vue:336 click CalendarListItem.vue:250 VueJS 4 onClick ActionButton.js:43 VueJS 33 Le cookie « pma_lang » sera bientôt traité comme un cookie intersite vis-à-vis de « https://78.193.81.192:8880/remote.php/dav/calendars/admin/personal_shared_by_AhmedKI/ » car le schéma ne correspond pas. personal_shared_by_AhmedKI Le cookie « pmaUser-1 » sera bientôt traité comme un cookie intersite vis-à-vis de « https://78.193.81.192:888/remote.php/dav/calendars/admin/personal_shared_by_AhmedKI/ » car le schéma ne correspond pas. personal_shared_by_AhmedKI jQuery is deprecated: The global jQuery is deprecated. It will be updated to v2.4 in Nextcloud 20 and v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 660 globals.js:61:15 Le cookie « pma_lang » sera bientôt traité comme un cookie intersite vis-à-vis de « https://78.193.81.192:888/ocs/v2.php/apps/notifications/api/v2/notifications » car le schéma ne correspond pas. notifications Le cookie « pmaUser-1 » sera bientôt traité comme un cookie intersite vis-à-vis de « https://78.193.81.192:888/ocs/v2.php/apps/notifications/api/v2/notifications » car le schéma ne correspond pas. notifications Le cookie « pma_lang » sera bientôt traité comme un cookie intersite vis-à-vis de « https://78.193.81.192:888/ocs/v2.php/apps/notifications/api/v2/notifications » car le schéma ne correspond pas. notifications Le cookie « pmaUser-1 » sera bientôt traité comme un cookie intersite vis-à-vis de « https://78.193.81.192:888/ocs/v2.php/apps/notifications/api/v2/notifications » car le schéma ne correspond pas. notifications Le cookie « pma_lang » sera bientôt traité comme un cookie intersite vis-à-vis de « https://78.193.81.192:888/ocs/v2.php/apps/notifications/api/v2/notifications » car le schéma ne correspond pas. notifications Le cookie « pmaUser-1 » sera bientôt traité comme un cookie intersite vis-à-vis de « https://778.193.81.192:888/ocs/v2.php

wiswedel commented 3 years ago

request.js:337 DELETE https://cloud.nextcloud.com/remote.php/dav/calendars/sascha/personal_shared_by_dimitri/ 403 (Forbidden) (anonymous) @ request.js:337 u @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 de @ calendar.js?v=0532f146-68:2 i @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 (anonymous) @ request.js:134 u @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 de @ calendar.js?v=0532f146-68:2 i @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 (anonymous) @ davCollection.js:211 u @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 Le @ calendar.js?v=0532f146-68:2 i @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 (anonymous) @ davCollection.js:33 (anonymous) @ calendars.js:528 u @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 fe @ calendar.js?v=0532f146-68:2 i @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 deleteCalendar @ calendars.js:527 (anonymous) @ vuex.esm.js:847 A.dispatch @ vuex.esm.js:512 A.dispatch @ vuex.esm.js:402 (anonymous) @ CalendarListItem.vue:338 u @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 cr @ calendar.js?v=0532f146-68:2 i @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 setTimeout (async) deleteCalendar @ CalendarListItem.vue:336 click @ CalendarListItem.vue?9605:250 He @ vue.runtime.esm.js:1854 n @ vue.runtime.esm.js:2179 He @ vue.runtime.esm.js:1854 e.$emit @ vue.runtime.esm.js:3888 onClick @ ActionButton.js:43 He @ vue.runtime.esm.js:1854 n @ vue.runtime.esm.js:2179 s._wrapper @ vue.runtime.esm.js:6917 Show 17 more frames CalendarListItem.vue:341 Error at XMLHttpRequest.n.value.regeneratorRuntime.mark.regeneratorRuntime.wrap.e.abrupt.a.onreadystatechange (request.js:353) (anonymous) @ CalendarListItem.vue:341 u @ runtime.js:63 (anonymous) @ runtime.js:293 (anonymous) @ runtime.js:118 cr @ calendar.js?v=0532f146-68:2 a @ calendar.js?v=0532f146-68:2 Promise.then (async) cr @ calendar.js?v=0532f146-68:2 i @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 (anonymous) @ calendar.js?v=0532f146-68:2 setTimeout (async) deleteCalendar @ CalendarListItem.vue:336 click @ CalendarListItem.vue?9605:250 He @ vue.runtime.esm.js:1854 n @ vue.runtime.esm.js:2179 He @ vue.runtime.esm.js:1854 e.$emit @ vue.runtime.esm.js:3888 onClick @ ActionButton.js:43 He @ vue.runtime.esm.js:1854 n @ vue.runtime.esm.js:2179 s._wrapper @ vue.runtime.esm.js:6917 util.js:133 OC.Util.relativeModifiedDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment relativeModifiedDate @ util.js:133 (anonymous) @ init.js:96 each @ jquery.js:354 each @ jquery.js:189 (anonymous) @ init.js:95 util.js:133 OC.Util.relativeModifiedDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment relativeModifiedDate @ util.js:133 (anonymous) @ init.js:96 each @ jquery.js:354 each @ jquery.js:189 (anonymous) @ init.js:95 util.js:133 OC.Util.relativeModifiedDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment relativeModifiedDate @ util.js:133 (anonymous) @ init.js:96 each @ jquery.js:354 each @ jquery.js:189 (anonymous) @ init.js:95

tcitworld commented 3 years ago

This is likely a server issue, but keeping this here for now...

b90g commented 3 years ago

A user reported this recently to me as well with a personal calendar shared TO a group where the user was member.

Related or separate issue?

imhanner commented 2 years ago

Could this problem caused by the "Unshare from me"-button dispatching the event deleteCalendar?

In the end it results in a causes a response forbidden 403. It seems as if it would try to delete the shared calendar instead of unsharing it.


Should we check if the calendar is a shared calendar here

https://github.com/nextcloud/calendar/blob/b19ad955ce98ae2b50964a0be6ac1f9a2aecf334/src/components/AppNavigation/CalendarList/CalendarListItem.vue#L362

and dispatch a different event like unshareCalendar instead of deleteCalendar in every case?

There is also a function unshareCalendar(state, { calendar, uri }). I am not sure how it relates to this problem. https://github.com/nextcloud/calendar/blob/b19ad955ce98ae2b50964a0be6ac1f9a2aecf334/src/store/calendars.js#L306


Disclaimer: I unfortunately by now didn't understand where these dispatched events are getting handled to follow along the whole process caused be clicking the "Unshare from me" - button. I also have just a little clue about vue.

oneWaveAdrian commented 2 years ago

Experiencing the same issue, getting a 403 on the DELETE request in the network tab. Endpoint: /remote.php/dav/calendars/[USER]/[CALENDAR_NAME]/

<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\Forbidden</s:exception>
  <s:message/>
</d:error>
pierreozoux commented 1 year ago

Can it be that it is shared with a group?

I have a similar case today, and I think it is due to the fact it is shared with the group.

kdoteu commented 1 year ago

Stumbled across the same issue. I've the problem with deactivated users. They shared their calendar with a group and now nobody can leave the shared calendar. I have to "recover" the old account and unshare everything to solve this issue.

Can I provice logs or information to tackle this bug (?) down?

privatemaker commented 1 year ago

I was also encountering the issue described by the title of this issue.

I was using NextCloud version 25.0.1 but I just upgraded to 25.0.4 and re-tested. The issue seems to be resolved now, for me at least!

quentinDupont commented 1 year ago

I just encountered the same issue. Nextcloud 25.0.6 with Calendar app 4.3.4 Get a 403 error in network tab

The use case is a shared calendar for a group.

Indeed, a shared calendar for a account can be unshared.

xeruf commented 1 year ago

Is a known issue with group shares, see https://github.com/nextcloud/server/issues/1653

tzugen commented 1 year ago

@tcitworld @georgehrke This is a dupe of https://github.com/nextcloud/server/issues/1653 can you mark it accordingly?

miaulalala commented 1 year ago

Duplicate of https://github.com/nextcloud/server/issues/1653