Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.23 KB

File metadata and controls

51 lines (40 loc) · 1.23 KB

Canvas LMS Restrict SIS Course Settings Plug-in

Plugin for the Canvas LMS theme app that restricts some settings in courses created by the SIS import/sync.

Installation

Using NPM:

npm install @artevelde-uas/canvas-lms-restrict-sis-course-settings-plugin

Using Yarn:

yarn add @artevelde-uas/canvas-lms-restrict-sis-course-settings-plugin

Usage

Just import the plug-in and add it to the Canvas app:

import { run, addPlugin } from '@artevelde-uas/canvas-lms-app';
import restrictSISCourseSettingsPlugin from '@artevelde-uas/canvas-lms-restrict-sis-course-settings-plugin';

addPlugin(restrictSISCourseSettingsPlugin, {
    disable: {
        image: true,
        name: true,
        code: true,
        blueprint: true,
        template: true,
        timeZone: true,
        account: true,
        term: true,
        participation: true,
        language: true,
        storage: true,
        speedGraderFilter: true,
        gradingScheme: true,
        participation: true,
        license: true,
        copyright: true,
        visibility: true,
        format: true,
        offline: true,
        description: true,
        moreOptions: true
    }
});

run();