V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
hustlzp
V2EX  ›  Python

一个简单的权限管理库 Permission

  •  
  •   hustlzp ·
    hustlzp · 2014-09-12 18:50:34 +08:00 · 2901 次点击
    这是一个创建于 3523 天前的主题,其中的信息可能已经有所发展或是发生改变。
    这2天把 /t/132526 中的代码整理成库上传到PyPI了,库代码行数很少,但也算是体验了一把Python包发布流程。高手轻喷 ^_^

    PyPI: https://pypi.python.org/pypi/permission
    代码: https://github.com/hustlzp/permission

    P.S. 发现自己的Writing English长时间不练真的是烂爆了TAT
    5 条回复    2014-09-14 15:16:45 +08:00
    seki
        1
    seki  
       2014-09-12 18:56:40 +08:00   ❤️ 1
    随手挑个错
    Permission has 1 methods which can be overrided:
    ->
    Permission has 1 method which can be overrided:
    hustlzp
        2
    hustlzp  
    OP
       2014-09-12 19:08:43 +08:00 via iPhone
    @seki 谢谢!
    clino
        3
    clino  
       2014-09-12 23:08:15 +08:00   ❤️ 1
    刚好我也给uliweb写了一个组织级别的rbac( role base access control) app: https://github.com/zhangchunlin/shapps/tree/master/shapps/auth/orgrbac
    基于原有uliweb的 rbac app: https://github.com/limodou/uliweb/tree/master/uliweb/contrib/rbac
    YORYOR
        4
    YORYOR  
       2014-09-14 13:55:06 +08:00
    华科校友么。。
    hustlzp
        5
    hustlzp  
    OP
       2014-09-14 15:16:45 +08:00
    @YORYOR 是滴...
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   959 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 18:33 · PVG 02:33 · LAX 11:33 · JFK 14:33
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.