You need to sign in to do that
Don't have an account?
Security Specialist Set record-level security settings
I can't pass this test, I've been testing things for more than 4 hours and I can't pass it.
Attached catches of all sections.
Same error all time and Apex Test Execution error to
"Challenge Not yet complete... here's what's wrong:
We couldn't find the Opportunity record owned by Samantha Cordero with the expected Stage. Please make sure the record exists and it contains the correct values according to the requirements."
1.
sb_security.BeAwesome
helpAStranger
Fail
System.QueryException: List has no rows for assignment to SObject
Class.sb_security.BeAwesome.createUser: line 133, column 1 Class.sb_security.BeAwesome.setup: line 127, column 1
2
sb_security.BeAwesome
hugYourMother
Fail
System.QueryException: List has no rows for assignment to SObject
Class.sb_security.BeAwesome.createUser: line 133, column 1 Class.sb_security.BeAwesome.setup: line 127, column 1
Thx
For helpAStranger pass: ensure your OWDs sharing rules are set properly. You should be sharing the opportunities with a Project Managers public group (wait for recalculation to be done before running the test).
For hugYourMother pass: ensure your OWDs sharing rules are set properly. You should be sharing the opportunities owned by Execs+Subordinates with Inside Sales roles (wait for recalculation to be done before running the test).