{"action":"created","issue":{"url":"https://api.github.com/repos/Starcounter/Replicator/issues/21","labels_url":"https://api.github.com/repos/Starcounter/Replicator/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/Starcounter/Replicator/issues/21/comments","events_url":"https://api.github.com/repos/Starcounter/Replicator/issues/21/events","html_url":"https://github.com/Starcounter/Replicator/issues/21","id":130362772,"number":21,"title":"Best design for a default table blacklist?","user":{"login":"per-samuelsson","id":2902045,"avatar_url":"https://avatars.githubusercontent.com/u/2902045?v=3","gravatar_id":"","url":"https://api.github.com/users/per-samuelsson","html_url":"https://github.com/per-samuelsson","followers_url":"https://api.github.com/users/per-samuelsson/followers","following_url":"https://api.github.com/users/per-samuelsson/following{/other_user}","gists_url":"https://api.github.com/users/per-samuelsson/gists{/gist_id}","starred_url":"https://api.github.com/users/per-samuelsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/per-samuelsson/subscriptions","organizations_url":"https://api.github.com/users/per-samuelsson/orgs","repos_url":"https://api.github.com/users/per-samuelsson/repos","events_url":"https://api.github.com/users/per-samuelsson/events{/privacy}","received_events_url":"https://api.github.com/users/per-samuelsson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Starcounter/Replicator/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/Starcounter/Replicator/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"per-samuelsson","id":2902045,"avatar_url":"https://avatars.githubusercontent.com/u/2902045?v=3","gravatar_id":"","url":"https://api.github.com/users/per-samuelsson","html_url":"https://github.com/per-samuelsson","followers_url":"https://api.github.com/users/per-samuelsson/followers","following_url":"https://api.github.com/users/per-samuelsson/following{/other_user}","gists_url":"https://api.github.com/users/per-samuelsson/gists{/gist_id}","starred_url":"https://api.github.com/users/per-samuelsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/per-samuelsson/subscriptions","organizations_url":"https://api.github.com/users/per-samuelsson/orgs","repos_url":"https://api.github.com/users/per-samuelsson/repos","events_url":"https://api.github.com/users/per-samuelsson/events{/privacy}","received_events_url":"https://api.github.com/users/per-samuelsson/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2016-02-01T13:30:40Z","updated_at":"2016-02-02T13:25:09Z","closed_at":null,"body":"Once I get a confirmation of [this issue](https://github.com/Starcounter/Starcounter/issues/3328), I planning to introduce some recommended, default blacklist in the replicator (right now, it contains no filtering by default, which is good). Any best spot / design for that?"},"comment":{"url":"https://api.github.com/repos/Starcounter/Replicator/issues/comments/178573847","html_url":"https://github.com/Starcounter/Replicator/issues/21#issuecomment-178573847","issue_url":"https://api.github.com/repos/Starcounter/Replicator/issues/21","id":178573847,"user":{"login":"linkdata","id":2185977,"avatar_url":"https://avatars.githubusercontent.com/u/2185977?v=3","gravatar_id":"","url":"https://api.github.com/users/linkdata","html_url":"https://github.com/linkdata","followers_url":"https://api.github.com/users/linkdata/followers","following_url":"https://api.github.com/users/linkdata/following{/other_user}","gists_url":"https://api.github.com/users/linkdata/gists{/gist_id}","starred_url":"https://api.github.com/users/linkdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkdata/subscriptions","organizations_url":"https://api.github.com/users/linkdata/orgs","repos_url":"https://api.github.com/users/linkdata/repos","events_url":"https://api.github.com/users/linkdata/events{/privacy}","received_events_url":"https://api.github.com/users/linkdata/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T13:25:09Z","updated_at":"2016-02-02T13:25:09Z","body":"I'm not sure what you mean.\r\n\r\nYou select using the full class name with namespace, and the unique set of those after removing the obvious candidates with namespace `Starcounter` gives a set of `Simplified` (which presumably you want to replicate as they look like Society Objects) and `Replicator` which the Replicator itself will prevent if appropriate. And `PlaceBooking`, which I don't know what it is. So it would be one or two `startsWith()` calls, or a one-line regular expression.\r\n\r\nThe important point to make here is that it's impossible for the Replicator to know what is safe to replicate, and what is not (except it's own tables). And since replicating stuff that should not be replicated is _far_ more dangerous than replicating too little (which is easy to correct), it makes sense to use a whitelist. Deciding what goes on that whitelist is outside the scope of the Replicator itself.\r\n\r\nWe might make recommendations, especially regarding Society Objects and mapping, but that's best done by those who are developing those technologies."}}