rbac icon indicating copy to clipboard operation
rbac copied to clipboard

Mongoose driver is removed after 5.0

Open chuyik opened this issue 6 years ago • 2 comments

Hi, I noticed that mongoose driver is removed from this package, maybe it's separated as a independent package. But I'm curious where does it go? The code below no longer works on 5.0, and I need some instructions, thanks!

const rbac = new RBAC({
  storage: new Mongoose({
    connection,
    Schema: connection.base.Schema,
  }),
})

chuyik avatar Dec 17 '18 07:12 chuyik

@chuyik have you figured it out?

znat avatar Mar 08 '19 15:03 znat

@znat I write my own rbac package instead, but it's not open source.

chuyik avatar Mar 09 '19 02:03 chuyik