Skip to content
Snippets Groups Projects
Verified Commit 7d5a153a authored by Jakob Moser's avatar Jakob Moser
Browse files

Implement can access protocols check

parent 2b4bbb7e
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,11 @@ async function canAccess(imageUrl) {
export async function isLoggedIn() {}
export async function canAccessProtocols() {}
/**
* @returns if the browser session has access to the protocols repo on GitLab
*/
export async function canAccessProtocols() {
return await canAccess("https://gitlab.cl.uni-heidelberg.de/api/v4/projects/1193/jobs/artifacts/master/raw/pixel.png?job=create-test-pixel")
}
export async function getLatestProtocolFileName() {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment