2015-04-20 02:12:11 +00:00
|
|
|
from django.conf.urls import patterns, include, url
|
|
|
|
from jperm.views import *
|
|
|
|
|
|
|
|
urlpatterns = patterns('jperm.views',
|
2015-11-14 13:13:02 +00:00
|
|
|
(r'^rule/$', perm_rule_list),
|
2015-11-13 09:17:22 +00:00
|
|
|
(r'^perm_rule_add/$', perm_rule_add),
|
|
|
|
(r'^perm_rule_detail/$', perm_rule_detail),
|
|
|
|
(r'^perm_rule_edit/$', perm_rule_edit),
|
|
|
|
(r'^perm_rule_delete/$', perm_rule_delete),
|
2015-11-14 13:13:02 +00:00
|
|
|
(r'^role/$', perm_role_list),
|
|
|
|
(r'^role/perm_role_add/$', perm_role_add),
|
|
|
|
(r'^role/perm_role_delete/$', perm_role_delete),
|
|
|
|
(r'^role/perm_role_detail/$', perm_role_detail),
|
|
|
|
(r'^role/perm_role_edit/$', perm_role_edit),
|
2015-11-29 11:02:13 +00:00
|
|
|
(r'^role/push/$', perm_role_push),
|
2015-11-30 15:04:02 +00:00
|
|
|
(r'^role/recycle/$', perm_role_recycle),
|
2015-12-02 15:50:20 +00:00
|
|
|
(r'^role/get/$', perm_role_get),
|
2015-11-24 14:03:58 +00:00
|
|
|
(r'^sudo/$', perm_sudo_list),
|
|
|
|
(r'^sudo/perm_sudo_add/$', perm_sudo_add),
|
|
|
|
(r'^sudo/perm_sudo_delete/$', perm_sudo_delete),
|
|
|
|
(r'^sudo/perm_sudo_edit/$', perm_sudo_edit),
|
2015-10-24 15:52:06 +00:00
|
|
|
)
|