deltanet / adapt_authoring

Source code for the Adapt Authoring tool
GNU General Public License v3.0
0 stars 1 forks source link

Tenant admin course imports incorrectly add plugins to the tenant DB #303

Closed dancgray closed 5 years ago

dancgray commented 6 years ago

Should tenant admins be able to import plugins when importing courses?

Expected Behaviour

Importing a course as a tenant admin should add new plugins to the master tenant collections (extensiontypes, componenttypes, menutypes, themetypes)

Actual Behaviour

They are added to the tenant DB becuase of this line

Steps to Reproduce

  1. Import a course with non standard plugins as a tenant admin of a new tenant 2.plugin types collections get populated in tenant DB
dancgray commented 5 years ago

Tenant admin role will be removed. Only super admin should be allowed to transfer courses.