Rails: User-role based content

P

Preben

Hi everyone.

Let's fx. say, that the content based on the front page (or any other
page) of the homepage is dependent on the roles that the user have.

How would you model this into a rails application?

I'm thinking of using the LoginGeneratorACLSystem for this application
and would like to have the contents of each 'unique' page be different
based on the user.


Thanks
Preben
 
J

James Britt

Preben said:
Hi everyone.

Let's fx. say, that the content based on the front page (or any other
page) of the homepage is dependent on the roles that the user have.

How would you model this into a rails application?

I'm thinking of using the LoginGeneratorACLSystem for this application
and would like to have the contents of each 'unique' page be different
based on the user.

You will likely get a better, faster answer for Rails questions on the
Rails mailing list:

http://lists.rubyonrails.org/mailman/listinfo






--
James Britt

"Programs must be written for people to read, and only incidentally
for machines to execute."
- H. Abelson and G. Sussman
(in "The Structure and Interpretation of Computer Programs)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top