Lesson
6
Roles quiz
A short test of everything you've learned through this course.
Log in to mark your progress for each Lesson and Task
You must be logged in to answer questions
Custom roles are great for
1
Customizing the user experience of the Studio
2
Ensuring security, compliance and content integrity
3
Content workflows
4
Localization and market-specific content
5
All of the above
You must be logged in to answer questions
If a user is assigned the default "editor" role and a custom role which can only edit "article" documents, what can that user edit?
1
Nothing, because the roles conflict
2
Only the "article" documents
3
All documents
You must be logged in to answer questions
If I need to restrict the ability of a role to view certain documents, how should I configure my dataset?
1
It should be public
2
It should be private
You must be logged in to answer questions
What are content resources?
1
A set of documents in a dataset defined by a GROQ filter
2
Custom roles created for specific users
3
An API endpoint for selecting a group of documents
4
Schemas that define document structures
You must be logged in to answer questions
What does SAML role mapping allow you to do?
1
Control Studio access for groups of users
2
Set conditional access rules for specific content
3
Assign roles to users based on roles from a third-party identity provider
4
Navigate between two users' geographical locations
You must be logged in to answer questions
Which functions in Sanity Studio can you use to check the current user and validate their role?
1
getUser() and hasPermission()
2
useCurrentUser() and userHasRole()
3
fetchUser() and roleChecker()
4
whoAmI() and canIHazRole()
You must be logged in to answer questions
What value do end users get from studio customizations based on their role(s)?
1
A tailored editing experience that aligns with their responsibilities
2
Access to all hidden fields and content, regardless of their role
3
Dynamic Studio themes that match their favorite colors and personal tastes
4
An additional eight week vacation because of the efficiencies they enjoy
You have 7 uncompleted questions in this lesson
0 of 7