{"id":22787416,"url":"https://github.com/aserto-dev/policy-peoplefinder-rbac","last_synced_at":"2026-03-19T23:41:08.851Z","repository":{"id":46030968,"uuid":"385102572","full_name":"aserto-dev/policy-peoplefinder-rbac","owner":"aserto-dev","description":"RBAC style policy template for the peoplefinder demo app","archived":false,"fork":false,"pushed_at":"2022-11-10T04:48:24.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T16:16:52.747Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Open Policy Agent","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/aserto-dev.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}},"created_at":"2021-07-12T02:26:06.000Z","updated_at":"2021-11-18T21:23:46.000Z","dependencies_parsed_at":"2023-01-21T20:46:42.436Z","dependency_job_id":null,"html_url":"https://github.com/aserto-dev/policy-peoplefinder-rbac","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/aserto-dev/policy-peoplefinder-rbac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Fpolicy-peoplefinder-rbac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Fpolicy-peoplefinder-rbac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Fpolicy-peoplefinder-rbac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Fpolicy-peoplefinder-rbac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aserto-dev","download_url":"https://codeload.github.com/aserto-dev/policy-peoplefinder-rbac/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aserto-dev%2Fpolicy-peoplefinder-rbac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28248355,"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","status":"online","status_checked_at":"2026-01-08T02:00:06.591Z","response_time":241,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-12-12T00:57:05.747Z","updated_at":"2026-01-08T20:02:59.713Z","avatar_url":"https://github.com/aserto-dev.png","language":"Open Policy Agent","funding_links":[],"categories":[],"sub_categories":[],"readme":"# policy-peoplefinder-rbac\n\nThis repository houses an RBAC-style Aserto policy for the PeopleFinder sample.\n\n## Directory structure\n\n`src` contains all the policy files. \n\n`src/.manifest` contains the policy roots - in this case, `peoplefinder`. If you change the name of the `package` definitions in the `.rego` files, make sure that the first component of the package name is reflected in this list.\n\n`src/policies` contains the policy modules associated with the peoplefinder sample:\n\n* get.rego - `peoplefinder.GET.api.users` - policy for `GET /api/users`\n* post.rego - `peoplefinder.POST.api.users` - policy for `POST /api/users`\n* __id/delete.rego - `peoplefinder.DELETE.api.users.__id` - policy for `DELETE /api/users/{id}`\n* __id/get.rego - `peoplefinder.GET.api.users.__id` - policy for `GET /api/users/{id}`\n* __id/post.rego - `peoplefinder.POST.api.users.__id` - policy for `POST /api/users/{id}`\n* __id/put.rego - `peoplefinder.PUT.api.users.__id` - policy for `PUT /api/users/{id}`\n\n## Releasing a new version\n\n`git tag {version} \u0026\u0026 git push --tags` will invoke the actions to create a new release (a policy bundle that can be delivered to the Aserto authorizer)\n\ne.g. `git tag v0.0.1 \u0026\u0026 git push --tags` will create a new release with v0.0.1.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faserto-dev%2Fpolicy-peoplefinder-rbac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faserto-dev%2Fpolicy-peoplefinder-rbac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faserto-dev%2Fpolicy-peoplefinder-rbac/lists"}