Gitlab CSE Unil

Commit 45eb40d8 authored by Julien Furrer's avatar Julien Furrer
Browse files

Merge branch 'dev' of...

Merge branch 'dev' of pcpol200-3:/Users/jfurrer/JOB/___RISET/PROJECTS/Misc/AnnotationDImage/workspace/adim.django into dev
parents 73108969 f17547f6
......@@ -22,7 +22,7 @@ from rest_framework.permissions import BasePermission, SAFE_METHODS
class AccessibleAnObj(BasePermission):
"""
RestFramework Object-level permission to allow acces to objects related to an accessible AnObj
RestFramework Object-level permission to allow access to objects related to an accessible AnObj
Assumes the model instance has an `annotable` attribute.
"""
def has_object_permission(self, request, view, obj):
......
......@@ -449,7 +449,7 @@ define([
me.currentModel.save({
'sharing_opts': sharingOpts
}, {
partial: true,
patch: true,
success: function() {
me._updateItemProp(me.currentModel);
}
......
......@@ -275,6 +275,7 @@
</form>
</div>
{% endif %}
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment