Meaningless Drivel is fun!*
The moose likes Ruby and the fly likes Role/permission system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Role/permission system" Watch "Role/permission system" New topic
Author

Role/permission system

Mark Herschberg
Sheriff

Joined: Dec 04, 2000
Posts: 6037
Can anyone recommend a role/permission system for Ruby? We'd like something basic that we can customize to your particular set of users (which I guess would be true of any generic permission system).

--Mark
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
What's the problem you're trying to solve?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
You meant something like ACEGI Security that you used in Spring ?

Please check this blog as well http://badpopcorn.com/blog/2008/09/16/authentication-and-authorization-in-rails/


Spritle Software Blogs
Mark Herschberg
Sheriff

Joined: Dec 04, 2000
Posts: 6037
Lasse Koskela wrote:What's the problem you're trying to solve?


On our system we have multiple users: clients, managers type A, managers type B, special users, admins type A, admins type B, superusers. They each need access to different parts of the system (obviously not completely mutually exclusive) to see things, and change settings.

I'd rather not reinvent the wheel if one already exists.

I took a glance at Acegi Security and it seems similar. We do have a basic login to the system, but the problem is it's binary and we need more granularity. We either need to suplliment what we have or to use it for all authentication across the system.

--Mark
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Is it a Rails system or something else?

If it's Rails, you should probably look into these.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Role/permission system
 
Similar Threads
design a flexible application security
method-permission tag ?
JACC on the fly method permission changes not reflecting at runtime in Jboss AS
Role based Permission
security question : unchecked X role-name tags definition .