AUTH WEB - Display and Accept API Terms of Use
@Eandersongit ci sta già lavorando.
Dal 16/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
- Develop API Terms of use page (placeholder for now)
- Clicking on 'Create API Key' redirects the user to the API Terms of Use page
- Accept and Decline buttons
- Clicking on Accept button, redirects user to Developer Access page and opens Create API Key modal
- Clicking on Decline button, redirects user to Developer Access page
QA Tasks
Pre-onditions
-
termsofuse_apidocument is published -
enable-create-api-keyflag is ON - You're logged in as an admin on an account that hasn't accepted the API Terms
- The design has change and there is no longer a Create API Key modal
Verify
- Clicking "Create API Key" on Developer Access opens the API Terms of Use page
- The terms page shows the terms content, the banner, and Agree / Decline buttons
- Clicking Agree opens Developer Access with the Create API Key inline form already open
- Account that already accepted the latest version: clicking "Create API Key" opens inline form with no redirect
- Clicking Decline returns to Developer Access, and the terms are still not accepted
- "Back to Developer Access" returns to Developer Access
- If the terms document fails to load, an error shows and the Agree/Decline buttons are hidden
- After accepting, the API Terms row in Account Info shows today's date
Additional scenarios to verify
Accepting and declining
- Double-clicking Agree sends only one accept request
- If the accept request fails (error/timeout), the user stays on the terms page with "The API Terms of Use could not be accepted. Please try again." and can click Agree again
- When the user is on Terms page and a newer terms version is published, clicking Agree shows "The API Terms of Use have been updated. Please refresh the page…", and after refreshing they can accept the new version
Versioning
- If a new terms version is published after the user opened the inline form, submitting the form shows an error modal instead of creating the key. Clicking Create Key again, takes user to accept
Direct URL and access
- Opening
/account/<orgId>/api-terms-of-usedirectly while logged out goes to login and then back to the terms page - A non-admin team member (Coordinator, User) cannot reach "Create API Key" or accept the terms on behalf of the account
- A suspended or inactive account cannot open the terms page
- Clicking the browser Back button after Agree returns to the terms page, and it doesn't create a second acceptance
Account switching
- Switching accounts while on the terms page, then clicking Agree, accepts for the account in the URL. If user is not allowed to accept the terms, clicking Agree fails with an error
- After accepting on account A, switching to account B (who is not accepted) and clicking "Create API Key" is blocked and user cannot create a new key
Accessibility
- Agree, Decline and "Back to Developer Access" can be reached with Tab and activated with Enter
This checklist covers the key scenarios only and isn't a complete set of test cases
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 0
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bcgov/connect
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
-
UI Enhancement - Account Info - Restyle Deactivate Account as a destructive buttonForse di nuovo libera @dimak1 l’ha presa 42 giorni fa e non c’è nessuna pull request aperta. Aperta
Difficoltà 2/5 1-2 giorni Idoneità per principianti 72/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
-
Q3.5 Sprint GoalsApertaconnect Mainframe
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100