The custom parameter p2g_upload allows you to control the behavior of the upload button.

Example


p2g_upload=instructor|staff:always,learner:none

Syntax


p2g_upload=role|role:permission,role:permission

Allowed values


  • once
  • always
  • none


Roles


IMS roles seperated by |

e.g. administrator, instructor, learner, observer


Default

if you do not use this custom parameter the default behavior will be


p2g_upload=instructor:always


Purpose


This parameter is introduced as part of learner assignments.  By default you can upload videos multiple times in the same LTI page. However, if you don't want learners upload multiple videos, you could use p2g_upload=once to allow only one time upload. After upload the button will be hidden.


We also introduced the option hidden, in case the P2Go Group / LTI pair has publishing rights, but you don't want to show the upload button at all.