├── .gitignore ├── Permisson ├── __init__.py ├── settings.py ├── urls.py └── wsgi.py ├── app01 ├── __init__.py ├── admin.py ├── apps.py ├── migrations │ └── __init__.py ├── models.py ├── static │ └── jquery-3.2.1.js ├── tests.py └── views.py ├── db.sqlite3 ├── manage.py ├── rbac ├── __init__.py ├── admin.py ├── apps.py ├── forms.py ├── middleware │ └── rbac.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_auto_20170921_1500.py │ └── __init__.py ├── models.py ├── service │ └── init_permission.py ├── style_script │ ├── rbac.css │ └── rbac.js ├── templates │ └── rbac │ │ ├── common_edit.html │ │ ├── index.html │ │ ├── menus.html │ │ ├── permissions.html │ │ ├── roles.html │ │ └── users.html ├── templatetags │ └── custom_tag.py ├── tests.py ├── urls.py └── views.py └── templates ├── index.html └── login.html /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/.gitignore -------------------------------------------------------------------------------- /Permisson/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Permisson/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/Permisson/settings.py -------------------------------------------------------------------------------- /Permisson/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/Permisson/urls.py -------------------------------------------------------------------------------- /Permisson/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/Permisson/wsgi.py -------------------------------------------------------------------------------- /app01/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app01/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/app01/admin.py -------------------------------------------------------------------------------- /app01/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/app01/apps.py -------------------------------------------------------------------------------- /app01/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app01/models.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app01/static/jquery-3.2.1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/app01/static/jquery-3.2.1.js -------------------------------------------------------------------------------- /app01/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/app01/tests.py -------------------------------------------------------------------------------- /app01/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/app01/views.py -------------------------------------------------------------------------------- /db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/db.sqlite3 -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/manage.py -------------------------------------------------------------------------------- /rbac/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rbac/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/admin.py -------------------------------------------------------------------------------- /rbac/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/apps.py -------------------------------------------------------------------------------- /rbac/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/forms.py -------------------------------------------------------------------------------- /rbac/middleware/rbac.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/middleware/rbac.py -------------------------------------------------------------------------------- /rbac/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/migrations/0001_initial.py -------------------------------------------------------------------------------- /rbac/migrations/0002_auto_20170921_1500.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/migrations/0002_auto_20170921_1500.py -------------------------------------------------------------------------------- /rbac/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /rbac/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/models.py -------------------------------------------------------------------------------- /rbac/service/init_permission.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/service/init_permission.py -------------------------------------------------------------------------------- /rbac/style_script/rbac.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/style_script/rbac.css -------------------------------------------------------------------------------- /rbac/style_script/rbac.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/style_script/rbac.js -------------------------------------------------------------------------------- /rbac/templates/rbac/common_edit.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/templates/rbac/common_edit.html -------------------------------------------------------------------------------- /rbac/templates/rbac/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/templates/rbac/index.html -------------------------------------------------------------------------------- /rbac/templates/rbac/menus.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/templates/rbac/menus.html -------------------------------------------------------------------------------- /rbac/templates/rbac/permissions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/templates/rbac/permissions.html -------------------------------------------------------------------------------- /rbac/templates/rbac/roles.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/templates/rbac/roles.html -------------------------------------------------------------------------------- /rbac/templates/rbac/users.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/templates/rbac/users.html -------------------------------------------------------------------------------- /rbac/templatetags/custom_tag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/templatetags/custom_tag.py -------------------------------------------------------------------------------- /rbac/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/tests.py -------------------------------------------------------------------------------- /rbac/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/urls.py -------------------------------------------------------------------------------- /rbac/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/rbac/views.py -------------------------------------------------------------------------------- /templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/templates/index.html -------------------------------------------------------------------------------- /templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ayhan-Huang/RBAC/HEAD/templates/login.html --------------------------------------------------------------------------------