MagicAuthTokenOpen returns the frontend URL for opening a magic auth token.
(org, project, token string)
| 351 | |
| 352 | // MagicAuthTokenOpen returns the frontend URL for opening a magic auth token. |
| 353 | func (u *URLs) MagicAuthTokenOpen(org, project, token string) string { |
| 354 | return urlutil.MustJoinURL(u.Frontend(), org, project, "-", "share", token) |
| 355 | } |
| 356 | |
| 357 | // ApproveProjectAccess returns the frontend URL for approving a project access request. |
| 358 | func (u *URLs) ApproveProjectAccess(org, project, id, role string) string { |
no test coverage detected