LTI test. Bug fixing: added warning if permission does not match.