1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 07:08:55 +00:00

[repo-download]add seafile_access_check

This commit is contained in:
llj
2012-05-14 21:51:55 +08:00
parent 77bf3cf392
commit c6c864b8c1
6 changed files with 59 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ from seahub.views import root, peers, groups, myhome, \
role_add, role_remove, activate_user, user_add, user_remove, \
ownerhome, remove_fetched_repo, \
repo_list_dir, user_info, repo_set_access_property, repo_operation_file, \
repo_add_share, repo_list_share, repo_remove_share, repo_download, back_local
repo_add_share, repo_list_share, repo_remove_share, repo_download, seafile_access_check, back_local
# Uncomment the next two lines to enable the admin:
#from django.contrib import admin
@@ -44,6 +44,7 @@ urlpatterns = patterns('',
(r'^repo/dir/(?P<repo_id>[^/]+)/$', repo_list_dir),
(r'^repo/(?P<op>[^/]+)/(?P<repo_id>[^/]+)/(?P<obj_id>[^/]+)/$', repo_operation_file),
(r'^download/repo/$', repo_download),
(r'^seafile_access_check/$', seafile_access_check),
(r'^seafadmin/$', seafadmin),
url(r'^useradmin/$', useradmin, name='useradmin'),