Skip to content

WIP - Course copy changes#412

Open
mpetrowi wants to merge 6 commits intomainfrom
mp-course-copy
Open

WIP - Course copy changes#412
mpetrowi wants to merge 6 commits intomainfrom
mp-course-copy

Conversation

@mpetrowi
Copy link
Copy Markdown
Contributor

This is a work in progress of some changes to support course copy

mpetrowi and others added 6 commits December 28, 2020 14:17
- Move lti_launches to global schema
- Add lti_contexts and lti_platform_instances tables
For LTI 1.2 launches, we won't have a deployment_id, so add a unique
index by context_id with deployment_id null.
@app_name = current_application_instance.application.client_application_name
context_id = params[:context_id]
if current_user&.can_author?(context_id, current_application_instance)
@can_author = true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it may be AA specific that accidentally got merged in upstream? I can see the method exists on the user as well, which is kinda weird.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here it means the lti roles are teacher or admin, which I'm using to determine when the user can resolve a launch issue. There might be a better way to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants