Merge pull request #3120 from aaa2000/fix-delete-annotation-user

Fix delete annotation when username is defined
This commit is contained in:
Jérémy Benoist 2017-05-15 11:42:05 +02:00 committed by GitHub
commit d168fff7a9
3 changed files with 7 additions and 2 deletions

View file

@ -28,6 +28,11 @@ $(document).ready(() => {
element: document.querySelector('article'),
});
const authorization = {
permits() { return true; },
};
app.registry.registerUtility(authorization, 'authorizationPolicy');
const x = JSON.parse($('#annotationroutes').html());
app.include(annotator.storage.http, x);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long