# User/Password Management: Mapping items to inidividual users

**URL:** <https://www.ruby-forum.com/t/user-password-management-mapping-items-to-inidividual-users/95899>\
**Category:** Rails\
**Created:** [June 19, 2006, 1:15am UTC](https://www.ruby-forum.com/t/user-password-management-mapping-items-to-inidividual-users/95899 "2006-06-19T01:15:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bunny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@bunny](https://www.ruby-forum.com/u/bunny)\
**Post date:** [June 19, 2006, 1:15am UTC](https://www.ruby-forum.com/t/user-password-management-mapping-items-to-inidividual-users/95899/1 "2006-06-19T01:15:40Z")

</div>

Is there a good plugin that does per page authentication management?

For example, I want to allow users to create pages and share them with  
specific users, all users, or none at all on a per page basis.

Benjamin

---

<div class="post-metadata">

**Author:** ![bunny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@bunny](https://www.ruby-forum.com/u/bunny)\
**Post date:** [June 19, 2006, 2:34am UTC](https://www.ruby-forum.com/t/user-password-management-mapping-items-to-inidividual-users/95899/2 "2006-06-19T02:34:01Z")

</div>

I’m working on an extension to RBAC-engine that supports this.

---

<div class="post-metadata">

**Author:** ![bunny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@bunny](https://www.ruby-forum.com/u/bunny)\
**Post date:** [June 19, 2006, 3:28am UTC](https://www.ruby-forum.com/t/user-password-management-mapping-items-to-inidividual-users/95899/3 "2006-06-19T03:28:42Z")

</div>

I second that on the Rails Engine. Check out  
[http://api.rails-engines.org/user\_engine/](http://api.rails-engines.org/user_engine/)

This one has RBAC functionality.

---

<div class="post-metadata">

**Author:** ![bunny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@bunny](https://www.ruby-forum.com/u/bunny)\
**Post date:** [June 19, 2006, 6:24am UTC](https://www.ruby-forum.com/t/user-password-management-mapping-items-to-inidividual-users/95899/4 "2006-06-19T06:24:32Z")

</div>

In it’s current form, the user engine won’t support this behaviour.  
The user engine restricts access on a per-controller/action basis, but  
you want to control access on a per-object basis.

Rather than twisting something pre-existing to suit this, you might be  
better developing a solution from scratch, and then seeing if you can  
extract the access control.

james

---

<div class="post-metadata">

**Author:** ![bunny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@bunny](https://www.ruby-forum.com/u/bunny)\
**Post date:** [August 7, 2006, 5:00pm UTC](https://www.ruby-forum.com/t/user-password-management-mapping-items-to-inidividual-users/95899/5 "2006-08-07T17:00:40Z")

</div>

How’s this coming along? Is there a project page for it?

For my immediate purposes the RBAC engine will likely work. I’m happy  
to extend it, but would rather throw my efforts behind an existing  
effort than start my own.

---

<div class="post-metadata">

**Author:** ![bunny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@bunny](https://www.ruby-forum.com/u/bunny)\
**Post date:** [August 7, 2006, 5:03pm UTC](https://www.ruby-forum.com/t/user-password-management-mapping-items-to-inidividual-users/95899/6 "2006-08-07T17:03:41Z")

</div>

On 8/8/06, Robert M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > Benjamin A. wrote:
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

There is a plugin by Bill K. that does this. It’s not an engine so  
you  
need to provide views etc.

[http://www.agilewebdevelopment.com/plugins/authorization](http://www.agilewebdevelopment.com/plugins/authorization)

I haven’t got around to using it myself, but plan to.
