RoR & MySQL [& LDAP]

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

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
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

  • Bill