{"action":"created","issue":{"url":"https://api.github.com/repos/flarum/core/issues/1696","repository_url":"https://api.github.com/repos/flarum/core","labels_url":"https://api.github.com/repos/flarum/core/issues/1696/labels{/name}","comments_url":"https://api.github.com/repos/flarum/core/issues/1696/comments","events_url":"https://api.github.com/repos/flarum/core/issues/1696/events","html_url":"https://github.com/flarum/core/issues/1696","id":390143052,"node_id":"MDU6SXNzdWUzOTAxNDMwNTI=","number":1696,"title":"Restricted tag issue","user":{"login":"PeopleInside","id":5006150,"node_id":"MDQ6VXNlcjUwMDYxNTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5006150?v=4","gravatar_id":"","url":"https://api.github.com/users/PeopleInside","html_url":"https://github.com/PeopleInside","followers_url":"https://api.github.com/users/PeopleInside/followers","following_url":"https://api.github.com/users/PeopleInside/following{/other_user}","gists_url":"https://api.github.com/users/PeopleInside/gists{/gist_id}","starred_url":"https://api.github.com/users/PeopleInside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeopleInside/subscriptions","organizations_url":"https://api.github.com/users/PeopleInside/orgs","repos_url":"https://api.github.com/users/PeopleInside/repos","events_url":"https://api.github.com/users/PeopleInside/events{/privacy}","received_events_url":"https://api.github.com/users/PeopleInside/received_events","type":"User","site_admin":false},"labels":[{"id":159223101,"node_id":"MDU6TGFiZWwxNTkyMjMxMDE=","url":"https://api.github.com/repos/flarum/core/labels/type/bug","name":"type/bug","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-12T09:46:37Z","updated_at":"2018-12-13T00:58:17Z","closed_at":null,"author_association":"NONE","body":"## Bug Report\r\n\r\n**Current Behavior**\r\n- A restricted tag is added (primary) where the regular user are allowed only to see discussions.\r\n- User see the possibility to start a discussion on this restricted post also if when try to post they have not permission. This made user create all post text and after negate the publish permission: the start discussion on that tag should be forbidden from the start.\r\n\r\n![00](https://user-images.githubusercontent.com/5006150/49860645-83d18d80-fdfa-11e8-873c-e9d09dc7ceaa.png)\r\n\r\n**Steps to Reproduce**\r\n1. Create a restricted primary tag where regular user can only read.\r\n2. From user profile go on this tag, you will be able to create a post.\r\n\r\n![01](https://user-images.githubusercontent.com/5006150/49860886-f93d5e00-fdfa-11e8-8f9b-101441e65bf0.png)\r\n\r\n\r\n**Expected Behavior**\r\nStart discussion should be disabled.\r\n\r\n**Environment**\r\n- Flarum version: Beta 8.1\r\n- Website URL: https://community.peopleinside.it/t/rilievo-sticky\r\n- Webserver: [apache,]\r\n- Hosting environment: [ vps]\r\n- PHP version: 7.1.x\r\n- Browser: [Firefox]\r\n\r\n```\r\nOutput of \"php flarum info\", run this in terminal in your Flarum directory.\r\nReally necessary?\r\n```\r\n\r\n**Possible Solution**\r\n<!--- Only if you have suggestions or a fix for the bug -->\r\nStart discussion should be disabled where user has not permission to start a discussion\r\n"},"comment":{"url":"https://api.github.com/repos/flarum/core/issues/comments/446802562","html_url":"https://github.com/flarum/core/issues/1696#issuecomment-446802562","issue_url":"https://api.github.com/repos/flarum/core/issues/1696","id":446802562,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjgwMjU2Mg==","user":{"login":"tobscure","id":128862,"node_id":"MDQ6VXNlcjEyODg2Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/128862?v=4","gravatar_id":"","url":"https://api.github.com/users/tobscure","html_url":"https://github.com/tobscure","followers_url":"https://api.github.com/users/tobscure/followers","following_url":"https://api.github.com/users/tobscure/following{/other_user}","gists_url":"https://api.github.com/users/tobscure/gists{/gist_id}","starred_url":"https://api.github.com/users/tobscure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobscure/subscriptions","organizations_url":"https://api.github.com/users/tobscure/orgs","repos_url":"https://api.github.com/users/tobscure/repos","events_url":"https://api.github.com/users/tobscure/events{/privacy}","received_events_url":"https://api.github.com/users/tobscure/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T00:58:17Z","updated_at":"2018-12-13T00:58:17Z","author_association":"MEMBER","body":"Confirmed"}}
{"actor":{"display_login":"tobscure"}}