ruby on rails - acl9 trying to set it up -


Anyone have experience with this plugin? I have installed it but I do not know how to implement it. How do I define different roles?

Their remaid is really good.

I set this up and these steps are:

  1. Create a model class called role
  2. Create a migration for roles table (
  3. View your Authlogic plugin (assuming that # 160)
  4. See the Authlogic plugin (assuming that you have something that already exists). To create a roles, a roles_users association table (for exact migration, then, check

you can now turn current_us By er.has_role your user can play the role! Admin:

Can you see that the user has a specific role, such as current_user.has_role ?: admin

in readme There are so many examples.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -