Yesterday I merged new stuff in the master of mod-notes. The most important thing is a script, run.sh that sets up the whole Okapi stack, with auth and permissions, one user on one tenant, with the right permission (notes.domain.all). I hope that helps.
Oh, don't use the latest from git. It passes the tests, but the permissions will not work well until mod-authtoken / mod-permissions will handle wildcards in desiredPermissions, see .
For now, you should be able to get away with granting the 'notes.domains.all' permission to diku-admin, and to everyone who needs to operate on notes. I just added it to the MD (in master)
I hope to release 2.0 this week, with permissions and user names in place. Notification stuff can come in 2.1, without changing the interface.
I will need to write something about the permissions in the readme, and make some sort of integration test.
Wayne SchneiderOctober 4, 2017 at 5:19 PM
Despite various attempts to give the admin user the correct permissions, I was unable to get this working. – can you help me figure out what permissions need to be defined in mod-permissions, and which need to be granted to a user, in order to make this work?
Recent permissions changes in mod-notes have caused some breakage.