rbac work and sql alchemy kludges