Mini-profiler only visible to first admin, not second admin


(Zane Beckman) #1

Both users have identical group memberships and permissions. (admins, staff, trust_level_0)

Both users emails are specified in app.yml with:

DISCOURSE_DEVELOPER_EMAILS: 'example.user@gmail.com, example.user.b@gmail.com'
DISCOURSE_ENABLE_MINI_PROFILER: TRUE

I have also tried the Alt+P shortcut to toggle displaying the mini profiler. It only works for the first user and not the second user.


Finalizing configuration: logged in with the developer email, not made admin
Rack-mini-profiler showing up in production for admins?
(Jens Maier) #2

Could you try removing the space after the comma in the developer emails list?


(Zane Beckman) #3

That appears to have fixed it. I corrected the sample containers’ comments to correctly match what DISCOURSE_DEVELOPER_EMAILS expects.

https://github.com/discourse/discourse_docker/pull/88/files


(Jeff Atwood) #4

@sam can you make sure we are not sensitive to leading or trailing spaces here, this is a recipe for support pain.


(Zane Beckman) #5

This fixes the above issue:

https://github.com/discourse/discourse/commit/b7e8bcda073bd84a7c35f5ac9a7afa508556366f


Reply to topic without bumping it to the top
(Jeff Atwood) #6