fix
This commit is contained in:
parent
4eb5be2672
commit
69ecfcdbe9
3 changed files with 0 additions and 28 deletions
Binary file not shown.
Before Width: | Height: | Size: 173 KiB |
|
@ -1,6 +0,0 @@
|
|||
# A: Rechte und Rollen
|
||||
|
||||
|
||||
|
||||
|
||||

|
|
@ -1,22 +0,0 @@
|
|||
use gaming
|
||||
|
||||
db.createUser({
|
||||
user: "readOnlyUser",
|
||||
pwd: "readOnly123",
|
||||
roles: [
|
||||
{ role: "read", db: "gaming" }
|
||||
]
|
||||
})
|
||||
|
||||
use admin
|
||||
|
||||
db.createUser({
|
||||
user: "readWriteUser",
|
||||
pwd: "readWrite123",
|
||||
roles: [
|
||||
{ role: "readWrite", db: "gaming" }
|
||||
]
|
||||
})
|
||||
|
||||
use admin
|
||||
db.system.users.find({}, {user: 1, db: 1, roles: 1})
|
Loading…
Add table
Add a link
Reference in a new issue