{"id":19301934,"url":"https://github.com/payloadcms/blog-rbac","last_synced_at":"2025-07-14T09:42:53.655Z","repository":{"id":103210728,"uuid":"385623349","full_name":"payloadcms/blog-rbac","owner":"payloadcms","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-14T02:47:23.000Z","size":196,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-14T04:27:52.478Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/payloadcms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-13T13:59:53.000Z","updated_at":"2021-07-20T21:53:33.000Z","dependencies_parsed_at":"2023-06-28T23:45:46.771Z","dependency_job_id":null,"html_url":"https://github.com/payloadcms/blog-rbac","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/payloadcms/blog-rbac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Fblog-rbac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Fblog-rbac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Fblog-rbac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Fblog-rbac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/payloadcms","download_url":"https://codeload.github.com/payloadcms/blog-rbac/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/payloadcms%2Fblog-rbac/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265272439,"owners_count":23738474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-09T23:19:21.275Z","updated_at":"2025-07-14T09:42:53.630Z","avatar_url":"https://github.com/payloadcms.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blog - Build Your Own Role-Based Access Control in Payload\n\nCode repository for [Blog Post](https://payloadcms.com/blog/build-your-own-rbac)\n\n## Prerequisites:\n- MongoDB\n- Node\n\n## Steps to run this project:\n- git clone git@github.com:payloadcms/blog-rbac.git\n- `cp .env.example .env`\n- edit `.env` file to have a valid `MONGODB_URI` and `PAYLOAD_SECRET`\n- `yarn` or `npm install` to install dependencies\n- `yarn dev` or `npm run dev` to run the dev server\n- after startup open web browser to \u003ca href=\"http://localhost:3000/admin\"\u003elocalhost:3000/admin\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayloadcms%2Fblog-rbac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpayloadcms%2Fblog-rbac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpayloadcms%2Fblog-rbac/lists"}