"CanCan extension with role oriented permission management", but where are the roles?

72 views
Skip to first unread message

Jean Mertz

unread,
Apr 11, 2012, 9:37:44 AM4/11/12
to cant...@googlegroups.com
Hi,

I've been thinking about using CanTango for my new app, which uses Devise and has different roles. CanTango seems like a good fit, except for the fact that it says it is a role oriented permission system, but to use roles, you have to use third-party gems. Two of these gems are listed in the wiki, both being updated more than 6 months ago.

Do you have any recommendations which role-based system to use together with CanTango? Ideally I'd look for something that isn't updated more than 6 months ago. Any thoughts?
Message has been deleted

Kristian Mandrup

unread,
Apr 11, 2012, 3:54:33 PM4/11/12
to cant...@googlegroups.com
Hi guys,

Im really sorry that I haven't been able to finish the cantango refactoring completely. However please try out the cancan-permits gem.
It should contain most of the functionality except caching and permit store (yaml file rules definitions) and is well tested with lots of specs.

https://github.com/kristianmandrup/cantango-permits

If you get this gem integrated into your app or if you have any trouble doing so please let me know. It should be much easier to understand especially with the improved design and much better spec coverage.

I'm looking for someone who can help me finish the cantango-permit_store gem sometime this month (and perhaps cantango-cache also).

https://github.com/kristianmandrup/cantango-permit_store
https://github.com/kristianmandrup/cantango-cache

Basically create/test logic to parse the yaml structure loaded (mostly already there) and then convert it into permits that play well with cantango-permits.

There is a lot of potential in this project, but have just been sidetracked with other projects for a long time…

Note: Now I'm contributor to Tower.js framework (kind of Rails on Node.js), and I would like to port cancan and cantango there as well at some point.

Kristian

Kristian Mandrup

unread,
Apr 11, 2012, 3:55:32 PM4/11/12
to cant...@googlegroups.com
Hi guys,

Im really sorry that I haven't been able to finish the cantango refactoring completely. However please try out the cancan-permits gem.
It should contain most of the functionality except caching and permit store (yaml file rules definitions) and is well tested with lots of specs.

https://github.com/kristianmandrup/cantango-permits

If you get this gem integrated into your app or if you have any trouble doing so please let me know. It should be much easier to understand especially with the improved design and much better spec coverage.

I'm looking for someone who can help me finish the cantango-permit_store gem sometime this month (and perhaps cantango-cache also).

https://github.com/kristianmandrup/cantango-permit_store
https://github.com/kristianmandrup/cantango-cache

Basically create/test logic to parse the yaml structure loaded (mostly already there) and then convert it into permits that play well with cantango-permits.

There is a lot of potential in this project, but have just been sidetracked with other projects for a long time…

Note: Now I'm contributor to Tower.js framework (kind of Rails on Node.js), and I would like to port cancan and cantango there as well at some point.

Kristian

On Apr 11, 2012, at 3:37 PM, Jean Mertz wrote:

Reply all
Reply to author
Forward
0 new messages