{"id":36331265,"url":"https://github.com/zhang1992212/tp5_rbac","last_synced_at":"2026-01-11T12:00:17.145Z","repository":{"id":62509527,"uuid":"185019411","full_name":"zhang1992212/tp5_rbac","owner":"zhang1992212","description":"rbac","archived":false,"fork":false,"pushed_at":"2019-08-21T09:59:46.000Z","size":8759,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-20T21:07:53.945Z","etag":null,"topics":["php","rbac","thinkphp5"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/zhang1992212.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":"2019-05-05T10:59:50.000Z","updated_at":"2019-08-24T18:11:41.000Z","dependencies_parsed_at":"2022-11-02T13:01:10.761Z","dependency_job_id":null,"html_url":"https://github.com/zhang1992212/tp5_rbac","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/zhang1992212/tp5_rbac","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhang1992212%2Ftp5_rbac","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhang1992212%2Ftp5_rbac/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhang1992212%2Ftp5_rbac/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhang1992212%2Ftp5_rbac/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhang1992212","download_url":"https://codeload.github.com/zhang1992212/tp5_rbac/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhang1992212%2Ftp5_rbac/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28301972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T11:18:18.743Z","status":"ssl_error","status_checked_at":"2026-01-11T11:07:56.842Z","response_time":60,"last_error":"SSL_read: 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":["php","rbac","thinkphp5"],"created_at":"2026-01-11T12:00:15.485Z","updated_at":"2026-01-11T12:00:17.130Z","avatar_url":"https://github.com/zhang1992212.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## geek TP5—RBAC\n\n### 安装说明：\n##### 配置好数据库后，运行一次：\n```\nphp think rbac:run\nphp think rbac:seed:run\n```\n\n##### 后台登录 \n```\n用户名： admin\n密码： 111111\n```\n\n\n##### 默认没有配置的方法都是允许访问的，想要校验权限请在菜单管理中添加功能菜单，并分配角色权限\n+ ajax请求 权限校验失败返回：\n~~~\n{\"code\":401,\"title\":\"您无权限访问该接口，请联系管理员给您配置该权限\",\"detail\":\"\"}\n~~~\n+ 正常请求 权限校验失败返回：401错误页面\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhang1992212%2Ftp5_rbac","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhang1992212%2Ftp5_rbac","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhang1992212%2Ftp5_rbac/lists"}