{"id":66112,"library":"qor-roles","title":"QOR Roles","description":"Role-based access control (RBAC) library for Go applications, part of the QOR framework.","status":"active","version":"0.0.0-20201008080147-dcaf8a4646d8","language":"go","source_language":null,"source_url":"https://github.com/qor/roles","tags":["rbac","roles","permissions","access-control","qor"],"install":[{"cmd":"go get github.com/qor/roles","lang":"bash","label":"Install github.com/qor/roles"}],"dependencies":[],"imports":[{"symbol":"roles","correct":"github.com/qor/roles"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/qor/roles\"\n)\n\nfunc main() {\n\trole := roles.NewRole(\"admin\")\n\trole.Allow(\"read\", \"resource\")\n\tfmt.Println(role.HasAccess(\"admin\", \"read\", \"resource\"))\n}","lang":"go","description":"Defines a role and checks access permissions."},"warnings":[{"fix":"Consider using a more modern RBAC library like casbin or ozzo-rbac.","message":"The QOR ecosystem is not actively maintained; may have compatibility issues with newer Go versions.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'access':6,22 'access-control':21 'applic':12 'base':5 'control':7,23 'framework':17 'go':11 'librari':9 'part':13 'permiss':20 'qor':1,16,24 'rbac':8,18 'role':2,4,19 'role-bas':3","created_at":"2026-06-17T17:19:23.839709+00:00","updated_at":"2026-06-17T17:19:23.839709+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/qor/roles","github":"https://github.com/qor/roles","docs":"https://pkg.go.dev/github.com/qor/roles#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}