oasis4hedev / salsa

Web app for creating a syllabus in an accessible HTML document, publishing to the Canvas LMS, and more.
https://syllabustool.com
Other
6 stars 5 forks source link

Fix/verify document org path #476

Closed opsaaaaa closed 5 years ago

opsaaaaa commented 5 years ago

now when an organization path dose not exist it raise an error. and when on the document edit page if organization.id dose not match document.organization.id it raise an error before it did not raise errors for these cases

the issue is not completely solved tho.

when on the show page for a document after a user changes the address organization slug to existing but incorrect slug. an error is not thrown and the user can view the document. expected an error to be thrown.