mirror of
https://github.com/veops/cmdb.git
synced 2025-08-08 08:39:24 +08:00
v1 vsersion
This commit is contained in:
9
permissions.py
Normal file
9
permissions.py
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- coding:utf-8 -*-
|
||||
|
||||
|
||||
from flask.ext.principal import RoleNeed, Permission
|
||||
|
||||
|
||||
admin = Permission(RoleNeed('admin'))
|
||||
auth = Permission(RoleNeed('authenticated'))
|
||||
null = Permission(RoleNeed('null'))
|
Reference in New Issue
Block a user