{"action":"closed","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/4219","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/4219/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/4219/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/4219/events","html_url":"https://github.com/nextcloud/server/issues/4219","id":219535692,"number":4219,"title":"Can't share folders by email, files work fine","user":{"login":"krisj","id":590660,"avatar_url":"https://avatars0.githubusercontent.com/u/590660?v=3","gravatar_id":"","url":"https://api.github.com/users/krisj","html_url":"https://github.com/krisj","followers_url":"https://api.github.com/users/krisj/followers","following_url":"https://api.github.com/users/krisj/following{/other_user}","gists_url":"https://api.github.com/users/krisj/gists{/gist_id}","starred_url":"https://api.github.com/users/krisj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krisj/subscriptions","organizations_url":"https://api.github.com/users/krisj/orgs","repos_url":"https://api.github.com/users/krisj/repos","events_url":"https://api.github.com/users/krisj/events{/privacy}","received_events_url":"https://api.github.com/users/krisj/received_events","type":"User","site_admin":false},"labels":[{"id":393047742,"url":"https://api.github.com/repos/nextcloud/server/labels/0.%20Needs%20triage","name":"0. Needs triage","color":"0052cc","default":false},{"id":389031994,"url":"https://api.github.com/repos/nextcloud/server/labels/feature:%20sharing","name":"feature: sharing","color":"c2e0c6","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2017-04-05T10:22:17Z","updated_at":"2017-04-11T19:52:06Z","closed_at":"2017-04-11T19:52:06Z","body":"<!--\r\nThanks for reporting issues back to Nextcloud! This is the issue tracker of Nextcloud, if you have any support question please check out https://nextcloud.com/support\r\n\r\nThis is the bug tracker for the Server component. Find other components at https://github.com/nextcloud/\r\n\r\nFor reporting potential security issues please see https://nextcloud.com/security/\r\n\r\nTo make it possible for us to help you please fill out below information carefully. \r\nYou can also use the Issue Template application to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate\r\n--> \r\n### Steps to reproduce\r\n1. create a folder\r\n2. try sharing it via email (share by mail app enabled)\r\n3. observe error message\r\n\r\n### Expected behaviour\r\n\r\nbeing able to share a folder\r\n\r\n### Actual behaviour\r\nI get an UX error saying \"Error\"\r\nIn the chrome dev tools I see a 403 returned on the json request going to \"https://cloud.mydomain.net/ocs/v2.php/apps/files_sharing/api/v1/shares?format=json\" with POST data: \"shareType=4&shareWith=myemail%40gmail.com&permissions=31&path=%2FNotes\"\r\n\r\n### Server configuration\r\n\r\n**Operating system**:\r\nCentOS 7.3\r\n\r\n**Web server:**\r\nNginx\r\n\r\n**Database:**\r\nmysql  5.5.52\r\n\r\n**PHP version:**\r\n 7.0.16\r\n\r\n**Nextcloud version:** (see Nextcloud admin page)\r\n11.0.2 daily\r\n\r\n**Updated from an older Nextcloud/ownCloud or fresh install:**\r\nupdated from Owncloud 9...\r\n\r\n**Where did you install Nextcloud from:**\r\ngithub\r\n\r\n**Signing status:**\r\n<details>\r\n<summary>Signing status</summary>\r\n\r\n```\r\nLogin as admin user into your Nextcloud and access \r\nhttp://example.com/index.php/settings/integrity/failed \r\npaste the results here.\r\n```\r\nNo errors have been found.\r\n\r\n</details>\r\n\r\n**List of activated apps:**\r\n<details>\r\n<summary>App list</summary>\r\n\r\n```\r\nIf you have access to your command line run e.g.:\r\nsudo -u www-data php occ app:list\r\nfrom within your Nextcloud installation folder\r\n```\r\n</details>\r\n\r\n**Nextcloud configuration:**\r\n<details>\r\n<summary>Config report</summary>\r\n\r\n```\r\nIf you have access to your command line run e.g.:\r\nsudo -u www-data php occ config:list system\r\nfrom within your Nextcloud installation folder\r\n\r\nor \r\n\r\nInsert your config.php content here. \r\nMake sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)\r\n```\r\n</details>\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\n\r\n**Are you using encryption:** yes/no\r\n\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\n\r\n#### LDAP configuration (delete this part if not used)\r\n<details>\r\n<summary>LDAP config</summary>\r\n\r\n```\r\nWith access to your command line run e.g.:\r\nsudo -u www-data php occ ldap:show-config\r\nfrom within your Nextcloud installation folder\r\n\r\nWithout access to your command line download the data/owncloud.db to your local\r\ncomputer or access your SQL server remotely and run the select query:\r\nSELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';\r\n\r\n\r\nEventually replace sensitive data as the name/IP-address of your LDAP server or groups.\r\n```\r\n</details>\r\n\r\n### Client configuration\r\n**Browser:**\r\n\r\n**Operating system:**\r\n\r\n### Logs\r\n#### Web server error log\r\n<details>\r\n<summary>Web server error log</summary>\r\n\r\n```\r\nInsert your webserver log here\r\n```\r\n</details>\r\n\r\n#### Nextcloud log (data/nextcloud.log)\r\n<details>\r\n<summary>Nextcloud log</summary>\r\n\r\n```\r\nInsert your Nextcloud log here\r\n```\r\n</details>\r\n\r\n#### Browser log\r\n<details>\r\n<summary>Browser log</summary>\r\n\r\n```\r\nInsert your browser log here, this could for example include:\r\n\r\na) The javascript console log\r\nb) The network log\r\nc) ...\r\n```\r\n</details>\r\n"}}
{"actor":{"display_login":"rullzer"}}