Re: How to manage specific permissions for one resource?

2012-03-14 Thread Mark
Hi Michael, Can I describe another likely situation? What if USER Timothy has the role of 'EDITOR' with read and update permissions on a specific resource, BUTbecause of some condition, eg. if his sales is lesser than 100/month (let's call this attribute sales_per_month), he can only

Re: How to manage specific permissions for one resource?

2012-03-14 Thread Michael Merickel
The default acl search algorithm is to stop at the first entry (ace) that matches both the permission and a principal. So yeah, the Deny should be before the Allow in your example. On Wed, Mar 14, 2012 at 2:25 AM, Mark zhengha...@gmail.com wrote: Hi Michael, Can I describe another likely

[Admin UI] Something like ActiveAdmin for Pyramid ?

2012-03-14 Thread Stéphane Klein
Hi, I would like to write a list of tools compatible with Pyramid to do something like http://activeadmin.info/ I know : * formalchemy (http://docs.formalchemy.org/) I would like found or make something like ActiveAdmin (a clone ?) but for Pyramid. If I build something like ActiveAdmin

Re: deform_bootstrap 0.1 released

2012-03-14 Thread Benjamin Sims
Thanks for the tip. Practically, I will try the first option. However, could the deform guys comment? Is there a plan to update to more recent jQuery versions, or is there a reason not to do so? Ben On 13 March 2012 19:00, Andreas Kaiser di...@binary-punks.com wrote: Am 13.03.2012 um 19:01

Status of webhelpers

2012-03-14 Thread Georges Dubus
Hello First of all, there is a problem with webhelpers' documentation : the doc at http://docs.pylonsproject.org/projects/webhelpers/en/latest/ (as linked on this page : http://docs.pylonsproject.org/en/latest/docs/libraries.html ) doesn't work. I couldn't find any other way to view the

Re: Threadlocals? Globals?

2012-03-14 Thread Jonathan Vanasco
Depending on what Alice is - and how you plan on scaling your application - I would either store the object in Beaker ( perhaps with memcached ) or serialize the underlying data into a no-sql store like Riak or Mongo. -- You received this message because you are subscribed to the Google Groups

Re: Pyramid on GAE

2012-03-14 Thread Fábio Dias
Hi! I'm actually trying to do a simple web app using Python 2.7 and pyramid (v 1.3) however I'm stuck in the process of running a demo locally because the documentation from the Pyramid website stops after the installation of the Pyramid framework in the virtual environment, using this tutorial

Re: Pyramid on GAE

2012-03-14 Thread Thomas G. Willis
Hello, one of the tasks that was outlined as part of the sprints after pycon was improving the documentation for running pyramid on appengine. I've thrown some code out here with some docs in the readme https://github.com/twillis/pyramid_appengine if you want to give that a spin, just file an

how are file uploads processed in deform / pryamid ?

2012-03-14 Thread Jonathan Vanasco
hey- because almost every python package around thumbnailing images and s3 support is tied to a framework (really?!?!) i'm porting an old package from proprietary to BSD license. right now it's handling file handles and fieldstorage ( from formencode ). i'd love to support the full pyramid