Chapter 2: Role-Based Access Control Learning Activity: Granting Roles

Hey,
I am trying this challenge to grant roles to users as stated but the test cases are not passing.
image

image

image

Thanks in advance

UPDATE: I have changed the keyword to db.grantRolesToUser but it still does not work. HELP!

@steevej Can you please look into it!

What are the instructions
What roles need to be assigned to the emailsAdmin user?
Check if any typo on role name or you might have given other roles which are not needed

You are not entering the command at the right place.

You typed everything in the Code Editor rather than in the mongo shell on the Terminal.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.