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:
@@ -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():
|
||||
|
Reference in New Issue
Block a user