Javascript permitted_to?

12 views
Skip to first unread message

Chris

unread,
Sep 28, 2012, 5:39:53 PM9/28/12
to declarative_...@googlegroups.com
I use declarative_authorization as the last word on permissions server-side, but I'd like to be able to display my UI on the frontend with the same knowledge found via permitted_to? . In short, I'd like a JS version of permitted_to? Is there such a thing, or is there an easy way to dump all the available contexts and privileges of current_user?
Reply all
Reply to author
Forward
0 new messages