stonean

trying to be better than I was yesterday

Lockdown 1.5.0 Released

Saturday November 07, 2009 @ 02:30 AM (UTC)

Hot off the gemcutter: Lockdown version 1.5.0

First off, you didn’t miss anything, version 1.4.0 wasn’t actually released. Just before pushing the gem to gemcutter I decided to make an improvement to the set_user_group logic. I felt the need to make it a bit smarter and let you know if you were assigning a public or protected user group to a custom user group.

So here’s what’s in this release:

1) Delayed the parsing of init.rb to the first request. I had a report of Glassfish timing out on startup and other issues when running running db:migrate with some plugins.

2) Improved set_user_group method logic to detect reuse of public or protected permission.

I know there are a couple of other issues on the lighthouse account and I will get to them when I can.

thanks,
andy

Comments

I’ve been using lockdown for a while, but I still don’t understand whether to restart my server or not for these 2 cases :

- when I update the init.rb, do I have to restart ?

- when I add a new action in one of my controller, for example the ‘user’ controller, but I don’t update the init.rb because I already put
set_permission(:admin_articles).
with_controller(:admin__articles)
and assigned it to one of my user_group, do I have to restart ?

Up until now I’ve always restarted the server for those 2 cases, but I think it’s quite inconvenient. Perhaps some insight about this matter ?.

thx for your good work.

Gravatar icon
Giovanni
Wednesday November 11, 2009 @ 04:16 AM (UTC)
New comment

required, won't be displayed

optional

Don't type anything here unless you're an evil robot:


And especially don't type anything here:

Basic XHTML (including links) is allowed, just don't try anything fishy. Your comment will be auto-formatted unless you use your own <p> tags for formatting. You're also welcome to use Textile.

Copyright © 2010 stonean. All rights reserved.
Powered by Thoth.