-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roles with lesser permissions cannot see any shared courses #2266
Comments
@tomgreenfield Are you looking into this or would you like me to pick it up? |
Feel free to dive in. Thanks, @canstudios-nicolaw. |
👍 I'll start looking at this now |
@tomgreenfield I don't seem to be able to reproduce this. I have logged in as a super admin, created a course, shared it with everyone (it isn't shared with any individuals), and logged out. I can then log in as a course creator or authenticated user and see the course on the shared courses dashboard and preview it. As a product manager I can see the course on the shared courses dashboard but I can't preview it (I'm not sure if this is a regression). I am on the release/0.7.0 branch of the authoring tool, and the issue/2345-legacy branch of the framework. Please could you provide some more details as to how you are reproducing this? |
Can replicate consistently with the same branches. @taylortom, can you shed any light? |
Is there any useful information in the logs? I had a permissions issue looking at the shared dashboard when I had an old course floating around with a different tenant id, there is no chance you could have something like that? |
I could replicate this one yesterday, will have another test. |
@canstudios-nicolaw, to replicate, ensure at least one course is shared with all users and shared with a defined user different to the authenticated user. |
I've got a fix for this but it's going to be in the PR for #2271 as I came across this issue when testing that PR |
Expected Behaviour
All roles can see courses shared with everyone.
Actual Behaviour
Roles other than
Super Admin
andTenant Admin
cannot see any shared courses.Front end error received:
jquery.js:9659 GET http://localhost:5000/api/shared/course?search%5Btitle%5D=.*.*&operators%5Bskip%5D=0&operators%5Blimit%5D=1&operators%5Bsort%5D%5Btitle%5D=1 500 (Internal Server Error)
Steps to Reproduce
Versions
The text was updated successfully, but these errors were encountered: