Simple authentication provider using the current user authenticated with RStudio Connect.
The user_id
is the user's username and grading permission are determined by the user's group membership.
rsconnect_auth(grading_groups = NULL)
grading_groups | users who are members of any of these groups will have grading permissions. |
---|
an authentication provider to use in exam_config()
.
Other access configuration:
authentication_provider
,
configure_attempts()
,
password_auth()
# Create an authentication provider which grants grading permissions to users which # are members of either the "instructor" or the "assistant" group. auth_prov <- rsconnect_auth(c('instructor', 'assistant')) exam_config(auth_provider = auth_prov)