# UserEngine

**URL:** <https://www.ruby-forum.com/t/userengine/96047>\
**Category:** Engines\
**Created:** [June 24, 2006, 12:12am UTC](https://www.ruby-forum.com/t/userengine/96047 "2006-06-24T00:12:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafael\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e9a140/32.png) [@Rafael\_L](https://www.ruby-forum.com/u/Rafael_L)\
**Post date:** [June 24, 2006, 12:12am UTC](https://www.ruby-forum.com/t/userengine/96047/1 "2006-06-24T00:12:19Z")

</div>

Did you set permissions everytime you deploy the app?

Is there a way to automatically set permissions on deploy?

Thanks

---

<div class="post-metadata">

**Author:** ![Rafael\_L](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e9a140/32.png) [@Rafael\_L](https://www.ruby-forum.com/u/Rafael_L)\
**Post date:** [June 24, 2006, 3:18am UTC](https://www.ruby-forum.com/t/userengine/96047/2 "2006-06-24T03:18:32Z")

</div>

Quoting Rafael L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Did you set permissions everytime you deploy the app?
> 
> Is there a way to automatically set permissions on deploy?

Not sure the specifics of your question - but since some of the  
permission information is in the database, you could create a script  
(straight SQL or a migration) that would set up the stuff that is  
common between deployments. The harder part is when you don’t have the  
exact same information in different versions of your application, then  
a script doesn’t do you as much good.

–  
Cynthia K.
