you can use $app->wg->User->isAllowed('videoupload')