Description Usage Arguments Value Examples
View source: R/app-reporting.R
Takes the output from check_team_membership()
and check_certified_user()
.
If the user is not in the required teams or certified, creates a modal dialog
indicating which teams they need to belong to and how to request access.
1 | report_unsatisfied_requirements(membership, certified, syn)
|
membership |
Output from |
certified |
Output from |
syn |
Synapse client object |
If user is not certified or in the required teams, a modal dialog describing which requirements are not met.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
syn <- synapse$Synapse()
syn$login()
user <- syn$getUserProfile("dcctravistest")
membership <- check_team_membership(
teams = "3396691",
user = user,
syn = syn
)
certified <- check_certified_user(user$ownerId, syn = syn)
report_unsatisfied_requirements(membership, certified, syn = syn)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.