Re: [web-devel] [Yesod] Abstracting permissions with Yesod

10 Sep
2012
10 Sep
'12
6:34 a.m.
On Mon, Sep 10, 2012 at 1:09 PM, Arthur Clemens
Actually, I bet I know what the problem is: the export list in Foundation.hs doesn't include the AdminR datatype. Try adding:
AdminR (..)
Yes, now it works. That's quite a gotcha.
Arthur
I agree it's a gotcha, but I'm not sure there's anything we can do to avoid the issue. I suppose we could get rid of the export list in Foundation.hs, but that's not really a good practice in general. Best bet is likely to keep wiki documentation up to date. Which based on the Github newsfeeds, it seems you've been doing a very good job of, thank you. :) Michael
4635
Age (days ago)
4635
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Snoyman