Commit a5a6f616 authored by Ujvari Gergely's avatar Ujvari Gergely

Add indicator comment for upstream workaround

The root core of problem #1179 is actually an upstream problem. Our code is only necessary until we can consume the fixed version of annotator.
parent 6aa19558
......@@ -57,6 +57,10 @@ class App
plugins.Auth.updateHeaders()
plugins.Permissions.setUser(null)
# XXX: Temporary workaround until the fixed version upstream annotator is consumed
# The problem is that the permissions plugin, when setting the annotation.permissions property
# does not copy its options.permissions object, so modifying the annotation.permissions object
# modifes the plugin's options.permissions object too. After that this can be removed.
plugins.Permissions.options.permissions =
read: []
update: []
......
Markdown is supported
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