{"action":"created","issue":{"url":"https://api.github.com/repos/RequestPolicyContinued/requestpolicy/issues/688","labels_url":"https://api.github.com/repos/RequestPolicyContinued/requestpolicy/issues/688/labels{/name}","comments_url":"https://api.github.com/repos/RequestPolicyContinued/requestpolicy/issues/688/comments","events_url":"https://api.github.com/repos/RequestPolicyContinued/requestpolicy/issues/688/events","html_url":"https://github.com/RequestPolicyContinued/requestpolicy/issues/688","id":95369877,"number":688,"title":"allow to have „full domain configurability“ (regarding the menu) with „base domain strictness“ (regarding the default policy)","user":{"login":"360up","id":13338209,"avatar_url":"https://avatars.githubusercontent.com/u/13338209?v=3","gravatar_id":"","url":"https://api.github.com/users/360up","html_url":"https://github.com/360up","followers_url":"https://api.github.com/users/360up/followers","following_url":"https://api.github.com/users/360up/following{/other_user}","gists_url":"https://api.github.com/users/360up/gists{/gist_id}","starred_url":"https://api.github.com/users/360up/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/360up/subscriptions","organizations_url":"https://api.github.com/users/360up/orgs","repos_url":"https://api.github.com/users/360up/repos","events_url":"https://api.github.com/users/360up/events{/privacy}","received_events_url":"https://api.github.com/users/360up/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RequestPolicyContinued/requestpolicy/labels/enhancement","name":"enhancement","color":"C2F2CB"},{"url":"https://api.github.com/repos/RequestPolicyContinued/requestpolicy/labels/menu","name":"menu","color":"398ee7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-16T07:31:29Z","updated_at":"2015-08-06T21:49:37Z","closed_at":null,"body":"> about:requestpolicy?defaultpolicy\r\n> - [x] Allow requests to the same domain (www.example.com -> static.example.com).\r\n\r\nWhen the above default policy is set the tool bar only allows to configure requests to a whole domain tree (eg *.example.com) but not to an exact full domain (eg: cdn1.example.com). Further it only allows 3rd-party configuration.\r\n\r\nIt's only a default policy, so it should not remove the possibility to set custom full domain rules altogether. I am aware you can still manually add those in the settings, but it'll be nice to do so via tool bar too. Not only to allow full 3rd-party domains, but also to block some unwanted 1st-party.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/RequestPolicyContinued/requestpolicy/issues/comments/128519307","html_url":"https://github.com/RequestPolicyContinued/requestpolicy/issues/688#issuecomment-128519307","issue_url":"https://api.github.com/repos/RequestPolicyContinued/requestpolicy/issues/688","id":128519307,"user":{"login":"myrdd","id":4286829,"avatar_url":"https://avatars.githubusercontent.com/u/4286829?v=3","gravatar_id":"","url":"https://api.github.com/users/myrdd","html_url":"https://github.com/myrdd","followers_url":"https://api.github.com/users/myrdd/followers","following_url":"https://api.github.com/users/myrdd/following{/other_user}","gists_url":"https://api.github.com/users/myrdd/gists{/gist_id}","starred_url":"https://api.github.com/users/myrdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myrdd/subscriptions","organizations_url":"https://api.github.com/users/myrdd/orgs","repos_url":"https://api.github.com/users/myrdd/repos","events_url":"https://api.github.com/users/myrdd/events{/privacy}","received_events_url":"https://api.github.com/users/myrdd/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T21:49:37Z","updated_at":"2015-08-06T21:49:37Z","body":"Maybe the configuration should be even more detailed than only „strictness“ and „configuration“.\r\n\r\n* **default policy**\r\n  * allow\r\n  * or deny – then choose the **strictness** – „How much is allowed by default in default-deny mode?“\r\n    * the same base domain\r\n    * the same host (full domain)\r\n    * or same pre-path (full address, that is, domain + protocol + port)\r\n* **menu configurability** – left and right column\r\n  * **left column** – „What's the level of detail displayed?“\r\n    * base domain\r\n    * full domain\r\n    * full address\r\n  * **right column** – „Which types of rules can be added?“ – multiple choices possible\r\n    * Case A: both *origin* and *destination* are selected on the left column\r\n      * `* --> base domain`\r\n      * `base domain --> base domain`\r\n      * `* --> full domain`\r\n      * `full domain --> full domain`\r\n      * `* --> pre-path`\r\n      * `pre-path --> pre-path`\r\n    * Case B: only an *origin* is selected on the left column\r\n      * `base domain --> *`\r\n      * `full domain --> *`\r\n      * `pre-path --> *`\r\n\r\nDoes this make sense?\r\n\r\n---\r\n\r\nSo the full settings page – leaving out descriptions – could look like this:\r\n\r\n* **default policy**\r\n  * `allow`\r\n  * or `deny`\r\n    * **strictness** – single choice\r\n      * `base domain`\r\n      * `full domain`\r\n      * `full address`\r\n* [ ] **configure the menu** – optional\r\n  * **left column** – single choice\r\n    * „show *base domain*“\r\n    * „show *full domain*“\r\n    * „show *full address*“\r\n  * **right column** – multiple choice\r\n    * [ ] „show *base domain* rules“\r\n    * [ ] „show *full domain* rules“\r\n    * [ ] „show *full address* rules“\r\n\r\n---\r\n\r\nAs the default for new installations I suggest:\r\n\r\n* **default policy:** deny – see also #614\r\n* **strictness:** base domain\r\n* **left menu column:** base domain\r\n* **right menu column:** show base domain only\r\n\r\nBy default we'll have: `strictness === left col === right col`.\r\n\r\nWhat do you think?\r\n"}}