Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by


I am using single sign on, and am signed with a user that in the table 'users' has a 'userid' of 1. In the 'admin' table I have set the 'id' field to 1 for this user too (for now I only want myself as admin).

However when I go to admin I am getting the mesage that I need to be logged in as administrator.


What am I doing wrong and is there a guide for this somewhere?
Q2A version: Latest
moved by
Any takers on this question?

1 Answer

0 votes
Best answer

Your qa_get_logged_in_user(...) function in qa-external-users.php needs to set the 'level' in the returned array. See the examples in that file.

thanks! That did it.