For deletion of roles, and detection of if the role is current (and as a
time shifted check too - as in give this guy access next week or remove it
in three weeks).  It's kind if a standard default way for me to do this
stuff - always looking for better approaches if you can suggest though -
happy to learn :-)

Paul Brian
07540 456 115
paul@mikadosoftware.com
Guiding you towards Continuous Delivery of software and business value.

On 18 Mar 2013, at 19:59, Philip Schatz <notifications@github.com> wrote:

In rhaptos2/repo/foldermodel.py:

> +
> +
> +################# Modules ##################################
> +
> +class UserRoleModule(Base, CNXBase):
> +    """The roles and users assigned for a given folder
> +    """
> +    __tablename__ = 'userrole_module'
> +    module_uri = Column(String, ForeignKey('cnxmodule.id_'),
> +                        primary_key=True)
> +    user_uri = Column(String, primary_key=True)
> +    role_type = Column(Enum('aclrw', 'aclro',
> +                            name="cnxrole_type"),
> +                       )
> +    date_created_utc = Column(DateTime)
> +    date_lastmodified_utc = Column(DateTime)

Do we need a date_created on a role? and how useful is maintaining a
last_modified property on the role?

—
Reply to this email directly or view it on
GitHub<https://github.com/Connexions/rhaptos2.repo/pull/91/files#r3419457>
.

-- 


www.mikadosoftware.com

See your software improve with every change.