-
Notifications
You must be signed in to change notification settings - Fork 290
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
Share course with specific users #2204
Share course with specific users #2204
Conversation
"help": "Controls whether or not your colleagues will be able to see this course from the 'Shared courses' option" | ||
}, | ||
"_shareWithUsers": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adds extra sharing field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TomG's PR is going to mean that these schemas get pulled in from the framework (#2185) so I think that putting this here will mean that it is overwritten
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have opened a framework PR here: adaptlearning/adapt_framework#2346
"help": "Controls whether or not your colleagues will be able to see this course from the 'Shared courses' option" | ||
}, | ||
"_shareWithUsers": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TomG's PR is going to mean that these schemas get pulled in from the framework (#2185) so I think that putting this here will mean that it is overwritten
When I share a course with all users, other users can't see the course. |
A course that is shared with all users can't be deleted by the user that created it. |
This is working with #1926, so will get that one merged first before looking again. |
# Conflicts: # frontend/src/modules/projects/index.js # frontend/src/modules/projects/views/projectsView.js # frontend/src/modules/scaffold/index.js # lib/helpers.js # plugins/content/course/index.js
@taylortom Would you expect anything to be required to test this other than npm install, grunt build and a restart? I am getting a lot of errors in the console when I try and view dashboards or courses I can see I will try and investigate this now but just wanted to check I'm not missing something Update: I hadn't realised we need to test with a version of the framework that contains the schema change (adaptlearning/adapt_framework#2351 or adaptlearning/adapt_framework#2346) |
|
Good questions,
|
Ok thanks @taylortom I'm fine with 2 & 3 for now then 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I tick the 'share with all users' box and don't share the course with any specific user then:
- I cannot see the course in the shared courses dashboard
- Super admins in the system can see the course on the shared courses dashboard
- Course creators in the system cannot see the course on the shared courses dashboard
I can replicate @canstudios-nicolaw issue above. |
# Conflicts: # frontend/src/modules/projects/index.js # frontend/src/modules/projects/views/projectsView.js # lib/helpers.js # plugins/content/course/index.js
@taylortom I'm still having one of the issues above, if I share a course via the 'share with all' checkbox then I don't see it on my shared courses dashboard. This issue occurs whether I have also shared with some individuals or not. The rest is working well now though 👍 |
I can not replicate. @canstudios-nicolaw can you please check your tenants? |
@lc-thomasberger @canstudios-nicolaw I think this is related to courses which you own? I changed the API query slightly to omit any shared courses not owned by you (as they're already shown in 'My courses'). Will revert this in light of the upcoming #2238 |
Fixes #2123 (framework issue #2345).
Also removed the unused shared project view and associated files.