Skip to content
Snippets Groups Projects
Commit 4782f1da authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

Update to some comments

parent d388ea8a
No related branches found
No related tags found
No related merge requests found
......@@ -97,8 +97,7 @@ suburlpatterns = [
# Permissions list and creation
url(r'permissions/$', SupereventGroupObjectPermissionViewSet.as_view(
{'get': 'list'}), name='superevent-permission-list'),
# Permissions modification (expose/hide superevent). Has to come before
# permissions detail, otherwise .+ wildcard will match it first.
# Permissions modification (expose/hide superevent).
url(r'^permissions/modify/$',
SupereventGroupObjectPermissionViewSet.as_view({'post': 'modify'}),
name='superevent-permission-modify'),
......
......@@ -22,10 +22,8 @@ class CliExceptionMiddleware(MiddlewareMixin):
class ClientVersionMiddleware(object):
"""
Middleware class which checks the user's IP against a list of IPs
corresponding to instrument control rooms. If the user appears to be
in a control room, we add them to the corresponding control room group
for the duration of the request.
Middleware class which checks the version of gracedb-client for
compatibility with the server.
"""
client_string = 'gracedb-client'
error_messages = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment