Got it, thanks for help.
It looks like more close to real world than other simple examples.


On May 19, 9:56 am, John Mettraux <[email protected]> wrote:
> On Tue, May 19, 2009 at 10:51 AM, Li Xiao <[email protected]> wrote:
>
> > I am trying to integrate ruote into Java by JRuby.
> > Basically, my strategy is building a wrapper of engine in Java with
> > JRuby and create participants, workitem and maybe history entities in
> > Java, which is very close to what ruote-web2 has done in ruby except
> > ruote-web2 doesn't need a wrapper of engine.
> > So I get try out ruote-web2 demo (http://difference.openwfe.org:3000/)
> > and read ruote-web2 code for understanding how ruote-web2 integrates
> > with ruote.
> > But I couldn't find out how the demo registers participants by reading
> > the ruote-web2 code.
> > There is participants.rb inside config/initializers, but it does
> > nothing.
>
> Hello Li,
>
> you'll find the participant map used by ruote-web2 under lib/ruote.rb
>
>  http://github.com/jmettraux/ruote-web2/blob/c41e251927991d25647c921e1...
>
> > The reason I need it is because I still don't really understand how
> > ruote works with the participants to restrict user's access to a
> > process / workitem or give a user / a role / a group privilege to
> > access a workitem/process.
>
> ruote-web2 uses a special system where users and groups are
> implicitely participants.
>
> I hope this will help, best regards,
>
> --
> John Mettraux   -  http://jmettraux.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to