Different admin access in Active Admin for Rails application

In my Rails application I have different level admins with different access. How I can with adding some rules make for different admin types different access? Maybe exist module for this task?

Answers


ActiveAdmin provides the ability to define an AuthorizationAdapter for this type of access control.

I typically use CanCan, so I've found the CanCan Adapter they talk about on that page to be extremely useful. You just add the CanCan Authorization Adapter, then specify the permissions for the different roles in the Ability class, like normal.


Need Your Help

AngularJS - UI-Routing - how to use the route state as variable in controller?

javascript jquery angularjs angularjs-scope angular-ui-router

I am using Angular JS and UI-Routing. The routing works fine. My problem is showing and hiding a slider depending on what page the user is on.

What is wrong with my implementation of a method to add row to a primefaces datatable?

java-ee jsf-2 primefaces

I'm using JavaServer Faces 2.0, and Primefaces 3.5 and am running this on a Glassfish 3.1.2. I have a data table on a page that is used to allow a user to create a trivia question, set its properti...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.