Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

admin error message for non-admins #288

Open
stevenolen opened this issue Apr 12, 2013 · 0 comments
Open

admin error message for non-admins #288

stevenolen opened this issue Apr 12, 2013 · 0 comments

Comments

@stevenolen
Copy link
Member

Currently, the frontend shows a blank page and throws an exception when a non-admin attempts to view an admin-only page. Maybe a simple "you do not have access to this content" message can be displayed in this case?

to replicate: visit test.ohmage.org/web/#admin as a non-admin

Fri Apr 12 09:51:14 GMT-700 2013 edu.ucla.cens.mobilize.client.MainApp
FINE: History Token Fired = 'admin' 20A8226802F6D5F8661926E8BF10F62C.cache.html:4916
Fri Apr 12 09:51:14 GMT-700 2013 com.google.gwt.logging.client.LogConfiguration
SEVERE: One or more exceptions caught, see full set in UmbrellaException#getCauses
com.google.gwt.event.shared.UmbrellaException: One or more exceptions caught, see full set in UmbrellaException#getCauses
    at Unknown.dl(Unknown Source)
    at Unknown.Qu(Unknown Source)
    at Unknown.Su(Unknown Source)
    at Unknown.hu(Unknown Source)
    at Unknown.Nab(Unknown Source)
    at Unknown.Xt(Unknown Source)
    at Unknown.Pab(Unknown Source)
    at Unknown.anonymous(Unknown Source)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot read property 'fb' of null
    at Unknown.hbb(Unknown Source)
    at Unknown.nbb(Unknown Source)
    at Unknown.Wob(Unknown Source)
    at Unknown.Kob(Unknown Source)
    at Unknown.SAb(Unknown Source)
    at Unknown.$7(Unknown Source)
    at Unknown.Wt(Unknown Source)
    at Unknown.su(Unknown Source)
    at Unknown.hu(Unknown Source)
    at Unknown.Nab(Unknown Source) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant