1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

User seafserv_rpc instead of seafile_rpc and add repo management for staff

This commit is contained in:
plt
2012-01-29 13:05:35 +08:00
parent 56275225aa
commit 14308b7f7b
9 changed files with 207 additions and 113 deletions

View File

@@ -2,6 +2,7 @@
from seahub.profile.models import UserProfile
class UseridMiddleware(object):
"""Store ccnet user id in request.user.user_id"""
def process_request(self, request):
if not request.user.is_authenticated():