Fix bug get course permission.

Signed-off-by: tungpham31 <tungpham31@gmail.com>
Minor change.

Signed-off-by: tungpham31 <tungpham31@gmail.com>