{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/13387","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13387/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13387/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13387/events","html_url":"https://github.com/joomla/joomla-cms/pull/13387","id":197827957,"number":13387,"title":"TinyMCE builder: use usergroup instead of viewlevel for each set. Plus fix some BC issue.","user":{"login":"Fedik","id":1568198,"avatar_url":"https://avatars.githubusercontent.com/u/1568198?v=3","gravatar_id":"","url":"https://api.github.com/users/Fedik","html_url":"https://github.com/Fedik","followers_url":"https://api.github.com/users/Fedik/followers","following_url":"https://api.github.com/users/Fedik/following{/other_user}","gists_url":"https://api.github.com/users/Fedik/gists{/gist_id}","starred_url":"https://api.github.com/users/Fedik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fedik/subscriptions","organizations_url":"https://api.github.com/users/Fedik/orgs","repos_url":"https://api.github.com/users/Fedik/repos","events_url":"https://api.github.com/users/Fedik/events{/privacy}","received_events_url":"https://api.github.com/users/Fedik/received_events","type":"User","site_admin":false},"labels":[{"id":198658453,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/Language%20Change","name":"Language Change","color":"eb6420","default":false},{"id":60721348,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-12-28T10:05:44Z","updated_at":"2016-12-29T15:06:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/13387","html_url":"https://github.com/joomla/joomla-cms/pull/13387","diff_url":"https://github.com/joomla/joomla-cms/pull/13387.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/13387.patch"},"body":"### Summary of Changes\r\n\r\nFor TinyMCE plugin I have changed the access check, to use \"usergroup\" instead of \"viewlevel\", as @infograf768 sugested.\r\nIt seems better idea than use \"viewlevel\".\r\n\r\n**How it works now:**\r\nEach Set can be assigned to multiple Usergroups. \r\nIn case if user assigned to multiple groups, and each of these group has different Sets, then will be used last one allowed Set (order: 3, 2, 1, 0).\r\n\r\nAlso I have made small changes to allow to use Old parameters, where it possible, for avoid some BC problem. Fallback possible only for the params that available in the Set form.\r\n\r\n### Testing Instructions\r\n\r\n**test usergroup**\r\nMake user in specific group, then play with TinyMCE plugin access option, try to edit the toolbar. And make sure the changes applies to assigned group.\r\n\r\n**test BC**\r\neasy way I found:\r\nUse old site Joomla 3.6, and copy to Joomla 3.7 the values of the  `params` column from `#__extensions` table (for `plg_editors_tinymce` extension). \r\nAnd make sure the plugin use the params by default.\r\n\r\n### Documentation Changes Required\r\nas part of #11926\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/269642794","html_url":"https://github.com/joomla/joomla-cms/pull/13387#issuecomment-269642794","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/13387","id":269642794,"user":{"login":"infograf768","id":869724,"avatar_url":"https://avatars.githubusercontent.com/u/869724?v=3","gravatar_id":"","url":"https://api.github.com/users/infograf768","html_url":"https://github.com/infograf768","followers_url":"https://api.github.com/users/infograf768/followers","following_url":"https://api.github.com/users/infograf768/following{/other_user}","gists_url":"https://api.github.com/users/infograf768/gists{/gist_id}","starred_url":"https://api.github.com/users/infograf768/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infograf768/subscriptions","organizations_url":"https://api.github.com/users/infograf768/orgs","repos_url":"https://api.github.com/users/infograf768/repos","events_url":"https://api.github.com/users/infograf768/events{/privacy}","received_events_url":"https://api.github.com/users/infograf768/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T15:06:13Z","updated_at":"2016-12-29T15:06:13Z","body":"And better English for the message if anybody desires. 😃 "}}
{"actor":{"display_login":"infograf768"}}