ForbesLindesay / connect-roles

Provides dynamic roles based authorisation for node.js connect and express servers.
749 stars 62 forks source link

Mongodb built-in roles #50

Closed Globik closed 7 years ago

Globik commented 8 years ago

Any chance to integrate with mongo's built-in roles and privelliges?

ForbesLindesay commented 8 years ago

What would that look like?

Globik commented 8 years ago

var user = db.systems.users.find user By Id() If user.role == mainAdmin then ok for edite and update... Please tell me, is an authorization as it is is undependent on any db?

markstos commented 7 years ago

This seems like something that would be provided separately, not part of this distribution.

Globik commented 7 years ago

One may close this issue.