Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 422273
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:03:54+00:00 2026-05-12T19:03:54+00:00

Anyone have experience with this plugin? I have it installed but I have no

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T19:03:55+00:00Added an answer on May 12, 2026 at 7:03 pm

    Their readme is in fact really good.

    I just set it up and these are the steps:

    1. Create a model class called Role
    2. Create a migration for the roles table (see readme http://github.com/be9/acl9)
    3. Add acts_as_authorization_subject to your user model (assuming you have something like that already. Check out the authlogic plugin. There’s an excellent railscast about authlogic (I think #160)
    4. Create a roles_users association table (for the exact migration, again, check out the readme)
    5. That’s it. You done.

    You can now assign roles to your user by current_user.has_role! :admin

    You can check if a user has a certain role by calling e.g. current_user.has_role? :admin

    There are lots of examples in the readme.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

anyone have experience doing this? when i say imaginary i mean the square root
Does anyone have any experience with this sort of thing? I'm talking about applets
Does anyone have experience with database links between 10g and 11g? Is this a
has anyone else experienced this . I have SP1 but i have to kill
Is there a good tutorial or does anyone have experience with setting this up
Has anyone else experienced this? I have uninstalled and reinstalled TortoiseSVN as well as
Anyone have experience playing audio (right now specifically mp3s) with python using a any
Does anyone have experience developing with ESQL/C for INFORMIX-SQL, as in calling C funcs
Does anyone have experience writing professional OpenGL games on Windows? For the Mac, due
Does anyone have experience with pros and cons of using QLPreviewController vs UIWebView to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.