Forum: Ruby on Rails RoR & MySQL [& LDAP]

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Rath (Guest)
on 2006-01-20 06:29
I'm trying to create an application using RoR that shows only some
records of my database (MySQL) depending on a group (this is done
using LDAP directories).

For example, I have a school and there are 2 departments: Finance and
Administrative Staff. All of them can see the name of the students,
their contact details, etc. Administrative Staff are not interested on
Financial issues, therefore I don't want to show if they have or have
not paid school fees. Any person on the staff has an account and some
privileges and they can check the information in any available
computer on the school.

Does anyone have a clue if this can be done and how? If this can't be
done, is there a way to go around to assign roles in MySQL?

I'll really appreciate any help.

Thanks,

Rafael
Bill P. (Guest)
on 2006-01-20 07:52
(Received via mailing list)
I would suggest looking at UserEngine - http://www.rails-engines.org/
user_engine with extends LoginEngin - http://www.rails-engines.org/
login_engine User engine allows you to assign roles to users/groups.


On Jan 19, 2006, at 8:29 PM, Rath wrote:

> computer on the school.
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> removed_email_address@domain.invalid
> http://lists.rubyonrails.org/mailman/listinfo/rails
>



- Bill
This topic is locked and can not be replied to.