{"id":16296855,"url":"https://github.com/windomz/go-rbac","last_synced_at":"2025-04-09T13:34:53.372Z","repository":{"id":64308311,"uuid":"58441395","full_name":"WindomZ/go-rbac","owner":"WindomZ","description":":ghost: A simplified role-based access control (RBAC) implementation.","archived":false,"fork":false,"pushed_at":"2017-04-08T06:42:25.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-15T07:42:06.647Z","etag":null,"topics":["go","golang","rbac","role-based-access-control"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WindomZ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-10T08:02:45.000Z","updated_at":"2018-10-16T06:24:24.000Z","dependencies_parsed_at":"2023-01-15T11:15:37.171Z","dependency_job_id":null,"html_url":"https://github.com/WindomZ/go-rbac","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindomZ%2Fgo-rbac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindomZ%2Fgo-rbac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindomZ%2Fgo-rbac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindomZ%2Fgo-rbac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WindomZ","download_url":"https://codeload.github.com/WindomZ/go-rbac/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248049979,"owners_count":21039300,"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":["go","golang","rbac","role-based-access-control"],"created_at":"2024-10-10T20:24:11.810Z","updated_at":"2025-04-09T13:34:53.339Z","avatar_url":"https://github.com/WindomZ.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-rbac\n[![Build Status](https://travis-ci.org/WindomZ/go-rbac.svg?branch=master)](https://travis-ci.org/WindomZ/go-rbac)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)\n[![Coverage Status](https://coveralls.io/repos/github/WindomZ/go-rbac/badge.svg?branch=dev)](https://coveralls.io/github/WindomZ/go-rbac?branch=dev)\n\nA simplified role-based access control (RBAC) implementation, \ninspired by [gorbac](https://github.com/mikespook/gorbac)\n\n![v1.0.0](https://img.shields.io/badge/version-v1.0.0-green.svg)\n![status](https://img.shields.io/badge/status-stable-green.svg)\n\n## Purpose\n\n* Only three objects: `identity`, `role` and `permission`\n* One to many relationship between `identity` and `roles`.\n* One to many relationship between `role` and `permissions`.\n* One to many relationship between `role` and parent `roles`(inheritance relationship).\n\n## Features\n\n- [x] An `identity` has one or more `roles`.\n- [x] A `role` has one or more `permissions`.\n- [x] A `role` can inherit one or more other `roles`(inheriting their `permissions`).\n- [x] Both `identity`, `role`, `permission` are defined by ID string.\n- [x] Native and no third party library dependent, except unit testing\n\n## Installation\n\n```\ngo get -u github.com/WindomZ/go-rbac\n```\n\n## License\n\nThe [MIT License](https://github.com/WindomZ/go-rbac/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindomz%2Fgo-rbac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindomz%2Fgo-rbac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindomz%2Fgo-rbac/lists"}