grifart/scoped-authorization
Composer 安装命令:
composer require grifart/scoped-authorization
包简介
README 文档
README
Uses concept of "scopes" to define scope-specific roles for users.
This is useful when there are for users that gains project-level permissions. This means they have manager-level access to project A and guest-level access to project B.
Another user can have global role of administrator and can gain access to all projects without need of being part of a project.
Further sources
- Matej's talk: https://youtu.be/JAYeMsAxZOE?t=12m16s
- Matej's example repo: https://github.com/matej21/nette-authorization-example/blob/master/app/Core/Security/
- CampApp issue: https://gitlab.grifart.cz/KampApp/KampApp/issues/6
- Mango web more complete implementation: https://github.com/mangoweb-backend/authorization
- Grifart fork: gitlab, github
Contributing
This repository is fork of mangoweb-backend/authorization.
Primary development place is gitlab.grifart.cz. master is automatically replicated back to github:grifart/manogweb-backend-authorization.
Submitting contribution into fork
Internal contributions
Use GitLab and open merge request, target: master. After merge it will be automatically propagated to GitHub.
External contributions
External developers: Use GitHub, open pull request targeting our master master.
Internal reviewer and maintainer:
- fetch changes to local repo
- then merge into local
master - push local master into
gitlab/master(this will be automatically propagated to GitHub) - remove branches that are not needed anymore
Recommended git remotes setup
git remote add origin https://gitlab.grifart.cz/grifart/authorization.git git remote add github-grifart https://github.com/grifart/manogweb-backend-authorization.git git remote add github-mangoweb https://github.com/mangoweb-backend/authorization.git
grifart/scoped-authorization 适用场景与选型建议
grifart/scoped-authorization 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 25.96k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2020 年 11 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 grifart/scoped-authorization 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 grifart/scoped-authorization 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 25.96k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-27