is there an authorization package for seaside anywhere? i am not quite
sure i am even looking correctly.. thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.ThoseOptimizeGuys.com http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On 26/10/12 2:12 PM, sergio_101 wrote:
> is there an authorization package for seaside anywhere? i am not quite > sure i am even looking correctly.. What kind of authorization are you thinking of? - custom in-image defined users - custom database table lookup - native OS user - OpenID - see CloudforkSSO _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
>
> What kind of authorization are you thinking of? > once a user is authenticated, controlling what they can do to an object.. for instance, they could possibly: view all blog entries edit only theirs add pages if their role is admin edit any pages belonging to their group. thanks! -- ---- peace, sergio photographer, journalist, visionary http://www.ThoseOptimizeGuys.com http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On 10/26/2012 12:50 PM, sergio_101 wrote:
>> >> What kind of authorization are you thinking of? >> > > once a user is authenticated, controlling what they can do to an object.. > > for instance, they could possibly: > > view all blog entries > edit only theirs > add pages if their role is admin > edit any pages belonging to their group. > > thanks! > > mmm I usually just do something in the rendering methods like: renderContentOn:html self renderViewPages: html self session userIsAdmin ifFalse:[^self]. self renderAddPages: html or for things where the user isn't an admin but admins or the user should be able to view/edit it: renderBlogPagesOn:html self userIsAdminOrSignedInUser ifTrue:[ self renderBlogPagesFor: self user on: html ] where #userIsAdminOrSignedInUser is ^self session userIsAdmin or:[self session user = self user] I'd love to have other/better ideas & approaches. I never use decorations and suspect they may be helpful here. _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by sergio_101
On 26/10/12 3:50 PM, sergio_101 wrote:
>> >> What kind of authorization are you thinking of? >> > > once a user is authenticated, controlling what they can do to an object.. > > for instance, they could possibly: > > view all blog entries > edit only theirs > add pages if their role is admin > edit any pages belonging to their group. If you're using the Pier blog, then it's all there in the Pier-Security package. The package should be part of the default build configuration - it's in my image, which I built with the default config. _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by sergio_101
This seems quite interesting - i have never used it though:
http://www.squeaksource.com/TFLogin.html |
OH SNAP! yes.. that looks interesting..
On Sat, Oct 27, 2012 at 5:35 AM, Helene Bilbo <[hidden email]> wrote: > This seems quite interesting - i have never used it though: > http://www.squeaksource.com/TFLogin.html > > > > -- > View this message in context: http://forum.world.st/authorization-for-seaside-tp4653053p4653110.html > Sent from the Seaside General mailing list archive at Nabble.com. > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- ---- peace, sergio photographer, journalist, visionary http://www.ThoseOptimizeGuys.com http://www.CodingForHire.com http://www.coffee-black.com http://www.painlessfrugality.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101 _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Thanks a lot Helene, i was also looking for an authorization module on seaside for a project
Ernesto On Mon, Oct 29, 2012 at 5:56 PM, sergio_101 [via Smalltalk] <[hidden email]> wrote: OH SNAP! yes.. that looks interesting.. |
Free forum by Nabble | Edit this page |