The purpose you want to achieve includes a huge number of if conditions. I can give an example but better is that you provide some scenario.
On Tue, Sep 25, 2012 at 4:26 PM, KUL KING <kulking...@gmail.com> wrote: > Can you explain with an example so that I can better solve your problem? > > > On Tue, Sep 25, 2012 at 1:40 PM, Avi <aavinash.beh...@gmail.com> wrote: > >> There can be multiple permissions for a single role. How to handle that? >> >> >> On Tuesday, September 25, 2012 2:06:07 PM UTC+5:30, Kashif Umair Liaqat >> wrote: >> >>> You can set permissions for every role using CanCan. >>> >>> On Tue, Sep 25, 2012 at 1:26 PM, Avi <aavinas...@gmail.com> wrote: >>> >>>> Hello All, >>>> >>>> Is there any gem for Authorising Permission based on users ? >>>> Like Cancan is used for role based authorisation. >>>> >>>> >>>> >>>> Thanks. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ruby on Rails: Talk" group. >>>> To post to this group, send email to rubyonra...@googlegroups.**com. >>>> To unsubscribe from this group, send email to rubyonrails-ta...@** >>>> googlegroups.com. >>>> >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> msg/rubyonrails-talk/-/**ZR6N9llpbrwJ<https://groups.google.com/d/msg/rubyonrails-talk/-/ZR6N9llpbrwJ> >>>> . >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>> . >>>> >>>> >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk@googlegroups.com. >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rubyonrails-talk/-/eEPwtY50G_AJ. >> >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.