Currently GrantRole is a Database scoped Privilege, i.e it can only be granted on a database or collection. But there are three privileges that are global and we need to be able to grant role without the being scoped to database.
If we send the request without the on field, wdb crashes and panics
Currently GrantRole is a Database scoped Privilege, i.e it can only be granted on a database or collection. But there are three privileges that are global and we need to be able to grant role without the being scoped to database.
If we send the request without the
on
field, wdb crashes and panics