Hmmm, will need to read in context in morning but every module folder and
collection inherits from cnxbase - it provides jsonify, and other common
functions


Paul Brian
07540 456 115
paul@mikadosoftware.com
Guiding you towards Continuous Delivery of software and business value.

On 18 Mar 2013, at 18:40, Philip Schatz <notifications@github.com> wrote:

In rhaptos2/repo/cnxbase.py:

> +        else:
> +            outstr = getattr(self, col.name)
> +        return outstr
> +
> +    def set_acls(self, setter_user_uri, acllist, userrole_klass=None):
> +        """set the user acls on this object.
> +
> +        inheriting from CNXBase implies we are modelling
> +        a resource, and we want to control Read?write of the resource
> +        through ACLs - which are represented in dbase as userrole_<resource>
> +
> +        NB whilst practical to use one userrole table and preferable
> +        SQLAlchemy seems to place limits on it. and I dont want to
> +        muck about.
> +
> +        SOme, not all objects that inherit form CNXBase (!)

Which ones don't? Folders? might be helpful to include

—
Reply to this email directly or view it on
GitHub<https://github.com/Connexions/rhaptos2.repo/pull/91/files#r3417995>
.

-- 


www.mikadosoftware.com

See your software improve with every change.