{"id":20494850,"url":"https://github.com/apiko-dev/publish-authorized","last_synced_at":"2026-04-16T23:05:52.111Z","repository":{"id":88210118,"uuid":"44741418","full_name":"apiko-dev/publish-authorized","owner":"apiko-dev","description":"Publish only for authorized users or using custom security check","archived":false,"fork":false,"pushed_at":"2016-01-20T14:24:29.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-05T17:53:28.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://atmospherejs.com/jss/publish-authorized","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apiko-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-22T11:38:13.000Z","updated_at":"2016-01-15T10:31:09.000Z","dependencies_parsed_at":"2023-03-21T07:23:20.214Z","dependency_job_id":null,"html_url":"https://github.com/apiko-dev/publish-authorized","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/apiko-dev/publish-authorized","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fpublish-authorized","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fpublish-authorized/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fpublish-authorized/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fpublish-authorized/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apiko-dev","download_url":"https://codeload.github.com/apiko-dev/publish-authorized/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apiko-dev%2Fpublish-authorized/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31907728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T17:43:23.953Z","updated_at":"2026-04-16T23:05:52.088Z","avatar_url":"https://github.com/apiko-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Publish Authorized\n\nEnables publish data only to authorized users\n\n[![Meteor Icon](http://icon.meteor.com/package/jss:publish-authorized)](https://atmospherejs.com/jss/publish-authorized)\n\n\n## Examples\n\n```javascript\n//enable access to MyCollection only for authorized users\nMeteor.publishAuthorized('mySecuredPublish', function (category) {\n  return MyCollection.find({category: category});\n});\n\n//enable access to MyCollection only for specific users using custom check\nMeteor.publishAuthorized('mySecuredPublish', function (category) {\n  return MyCollection.find({category: category});\n}, function (userId) {\n  return customAccessCheckForMyCollection(userId);\n});\n```\n\n## License\nNote that this project is distributed under the [MIT License](LICENSE).  \nMade by [![Professional Meteor Development Studio](http://s30.postimg.org/jfno1g71p/jss_xs.png)](http://jssolutionsdev.com) - [Professional Meteor Development Company](http://jssolutionsdev.com)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapiko-dev%2Fpublish-authorized","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapiko-dev%2Fpublish-authorized","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapiko-dev%2Fpublish-authorized/lists"}