Gitlab CSE Unil

Commit f17547f6 authored by Julien Furrer's avatar Julien Furrer
Browse files

Minor bug fix: enregistrement de clé de partage fonctionnait pas.

parent 5ad15eb7
......@@ -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