Permissions are almost working. Almost.

They still aren't actually checking right for some reason.