Add notes.domain.all permission for diku_admin in blackbox

Description

Recent permissions changes in mod-notes have caused some breakage.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

relates to

Checklist

hide

TestRail: Results

Activity

Show:

Heikki LevantoOctober 10, 2017 at 8:36 AM

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.

Wayne SchneiderOctober 5, 2017 at 2:41 PM

Heikki LevantoOctober 5, 2017 at 8:49 AM

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?

Done

Details

Assignee

Reporter

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 4, 2017 at 4:45 PM
Updated November 12, 2018 at 2:23 PM
Resolved October 9, 2017 at 1:07 PM
TestRail: Cases
TestRail: Runs