Mongogrant

Latest version: v0.3.3

Safety actively analyzes 685507 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.3.0

- Message specific to user not having been given access to a database yet
- Message specific to user allowed to do things, but token has expired.

0.2.0

A mongogrant server admin can now add "ruler" users who can set allow/deny rules for users via the `mgrant` CLI. An admin sets a ruler document in the `server.mgdb` collection, e.g.
python
server.mgdb.rulers.replace_one(
{"email": "starlordlbl.gov"},
{
"email": "starlordlbl.gov",
"hosts": ["mongodb03.nersc.gov"],
"dbs": ["mp_", "fw_"],
"emails": ["lbl.gov"],
"which": ["allow"]
},
upsert=True)

Allows user `starlordlbl.gov` to set `allow` rules for any user with an "lbl.gov" email address on the Mongo host "mongodb03.nersc.gov" for any database name prefixed with "mp_" or "fw_". Any field in a ruler document can be set to "all" rather than an array.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.