{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/8132","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8132/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8132/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8132/events","html_url":"https://github.com/joomla/joomla-cms/pull/8132","id":113009229,"number":8132,"title":"Ajaxifying the Permission Tab","user":{"login":"tflm84","id":5222809,"avatar_url":"https://avatars.githubusercontent.com/u/5222809?v=3","gravatar_id":"","url":"https://api.github.com/users/tflm84","html_url":"https://github.com/tflm84","followers_url":"https://api.github.com/users/tflm84/followers","following_url":"https://api.github.com/users/tflm84/following{/other_user}","gists_url":"https://api.github.com/users/tflm84/gists{/gist_id}","starred_url":"https://api.github.com/users/tflm84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tflm84/subscriptions","organizations_url":"https://api.github.com/users/tflm84/orgs","repos_url":"https://api.github.com/users/tflm84/repos","events_url":"https://api.github.com/users/tflm84/events{/privacy}","received_events_url":"https://api.github.com/users/tflm84/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/Language%20Change","name":"Language Change","color":"eb6420"},{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/New%20Feature","name":"New Feature","color":"e102d8"},{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/joomla/joomla-cms/milestones/7","html_url":"https://github.com/joomla/joomla-cms/milestones/Joomla!%203.5.0","labels_url":"https://api.github.com/repos/joomla/joomla-cms/milestones/7/labels","id":944889,"number":7,"title":"Joomla! 3.5.0","description":"","creator":{"login":"rdeutz","id":467356,"avatar_url":"https://avatars.githubusercontent.com/u/467356?v=3","gravatar_id":"","url":"https://api.github.com/users/rdeutz","html_url":"https://github.com/rdeutz","followers_url":"https://api.github.com/users/rdeutz/followers","following_url":"https://api.github.com/users/rdeutz/following{/other_user}","gists_url":"https://api.github.com/users/rdeutz/gists{/gist_id}","starred_url":"https://api.github.com/users/rdeutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdeutz/subscriptions","organizations_url":"https://api.github.com/users/rdeutz/orgs","repos_url":"https://api.github.com/users/rdeutz/repos","events_url":"https://api.github.com/users/rdeutz/events{/privacy}","received_events_url":"https://api.github.com/users/rdeutz/received_events","type":"User","site_admin":false},"open_issues":40,"closed_issues":272,"state":"open","created_at":"2015-01-21T08:12:44Z","updated_at":"2015-11-02T13:21:35Z","due_on":"2015-11-03T23:00:00Z","closed_at":null},"comments":15,"created_at":"2015-10-23T12:23:24Z","updated_at":"2015-11-02T14:21:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/8132","html_url":"https://github.com/joomla/joomla-cms/pull/8132","diff_url":"https://github.com/joomla/joomla-cms/pull/8132.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/8132.patch"},"body":"# Introduction\r\nThis PR fixes a problem of saving permissions within the Global Configuration, Components, Articles, Modules, and anywhere else where permissions can be configured.\r\nIf too many permission changes are made, the request is too large, because all settings are transmitted in one big form. \r\nIf this form is too big, some data get lost and are not stored in the database. Even worse, there is no feedback, therefore the user can not recognise that anything went wrong.\r\n\r\n# Fix\r\nThis fix splits the form when the save button is clicked. All inputfields which contain permissions will be disabled and not send during the saving progress.\r\nNow, the permissions will be stored immediately after changing a value via AJAX. This solution leads to smaller forms and consistent storage of the permissions.\r\nIf something goes wrong, an error message will be displayed.\r\n\r\n# How to test this patch\r\n1. Login as administrator\r\n2. Go to Global Configuration / Components / Articles / Modules / ...\r\n3. Switch to permission tab\r\n4. Change any permissions\r\n5. A green or red checkmark will light up\r\n\r\nWorked as a group on that issue: @icampus, @d03ms"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/153029451","html_url":"https://github.com/joomla/joomla-cms/pull/8132#issuecomment-153029451","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/8132","id":153029451,"user":{"login":"joomla-cms-bot","id":10873953,"avatar_url":"https://avatars.githubusercontent.com/u/10873953?v=3","gravatar_id":"","url":"https://api.github.com/users/joomla-cms-bot","html_url":"https://github.com/joomla-cms-bot","followers_url":"https://api.github.com/users/joomla-cms-bot/followers","following_url":"https://api.github.com/users/joomla-cms-bot/following{/other_user}","gists_url":"https://api.github.com/users/joomla-cms-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla-cms-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla-cms-bot/subscriptions","organizations_url":"https://api.github.com/users/joomla-cms-bot/orgs","repos_url":"https://api.github.com/users/joomla-cms-bot/repos","events_url":"https://api.github.com/users/joomla-cms-bot/events{/privacy}","received_events_url":"https://api.github.com/users/joomla-cms-bot/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T14:21:03Z","updated_at":"2015-11-02T14:21:03Z","body":"This PR has received new commits.\n\n**CC:** @coolman01, @designbengel, @dgt41, @zero-24<hr /><sub>This comment was created with the <a href=\"https://github.com/joomla/jissues\">J!Tracker Application</a> at <a href=\"http://issues.joomla.org/tracker/joomla-cms/8132\">issues.joomla.org/joomla-cms/8132</a>.</sub>"}}