teacher has_many permissions as context