← Alla rollguiderAll role guides
Hitta Ditt Sverige · AnvändarresedokumentationHitta Ditt Sverige · User Journey Documentation

LokalbonThe Local Resident

Hur en kommuninvånare följer sin hemort och engagerar sig i det lokala utbudetHow a resident follows their home community and engages with the local offering

Roll: local_residentRole: local_resident Kommun: PiteåCommune: Piteå Plattform: pitea.hittadittsverige.sePlatform: pitea.hittadittsverige.se

Vem är det här?Who is this?

  • En person som bor i kommunen och vill hålla koll på vad som händerA resident who wants to keep up with what's happening in the commune
  • Registrerar sig för att följa lokalt utbud och evenemangRegisters to follow local offerings and events
  • Ingen koppling till en specifik verksamhetNo connection to a specific business
  • Konsumerar information snarare än publicerarConsumes information rather than publishing it

Vad kan de göra?What can they do?

  • Bläddra i kommunens katalog och evenemangBrowse the commune catalogue and events
  • Logga in via samma inloggningssida och demopanel som övriga rollerLog in via the same login page and demo panel as other roles
  • I teorin hantera kontoinställningar och följa favoritverksamheter – se observation nedanIn theory manage account settings and follow favourite businesses – see observation below
Steg 1Step 1

InloggningssidanThe login page

Lokalbon loggar in på samma inloggningssida som alla andra roller, med e-post och lösenord eller Google. Demopanelen på inloggningssidan fyller i testuppgifter automatiskt för rollen local_resident.

Inloggningssidan
Inloggningssidan med demopanel
Login page with demo panel

The local resident logs in on the same login page as every other role, using email and password or Google. The demo panel on the login page fills in test credentials automatically for the local_resident role.

Inloggningssidan
Inloggningssidan med demopanel
Login page with demo panel
Steg 2Step 2

Inloggningen misslyckasThe login fails

Efter att demopanelens uppgifter (demo.lokal@hds.se / demo-lokal-2026) fyllts i automatiskt och formuläret skickats in visar sidan genomgående felmeddelandet «Fel e-postadress eller lösenord. Försök igen.» Detta testades upprepade gånger – både via demopanelens egen «Fyll i»-knapp och med flera manuella varianter av e-post/lösenord – och gav samma resultat varje gång, medan motsvarande inloggning för andra roller (t.ex. turist) fungerar utan problem.

Fixat (2026-09-08): Kontot demo.lokal@hds.se saknades helt i databasen – det hade aldrig skapats, till skillnad från övriga demokonton. Ett konto med rollen member och user_type=lokalbo har nu skapats med exakt de uppgifter som demopanelen visar, och inloggningen fungerar.

Felmeddelande vid inloggning som lokalbo
Inloggningsförsök med demopanelens uppgifter ger «Fel e-postadress eller lösenord»
Login attempt with the demo panel’s credentials returns «Incorrect email or password»

After the demo panel’s credentials (demo.lokal@hds.se / demo-lokal-2026) were auto-filled and the form submitted, the page consistently showed the error «Incorrect email or password. Try again.» This was tested repeatedly – both via the demo panel’s own «Fill in» button and with several manual email/password variants – and returned the same result every time, while the equivalent login for other roles (e.g. tourist) works without issue.

Fixed (2026-09-08): The account demo.lokal@hds.se was entirely missing from the database – it had never been created, unlike the other demo accounts. An account with role member and user_type=lokalbo has now been created with exactly the credentials shown in the demo panel, and login now works.

Felmeddelande vid inloggning som lokalbo
Inloggningsförsök med demopanelens uppgifter ger «Fel e-postadress eller lösenord»
Login attempt with the demo panel’s credentials returns «Incorrect email or password»
Steg 3Step 3

Publika sidor som utloggad besökarePublic pages as a logged-out visitor

Eftersom inloggningen inte går att slutföra kunde lokalbons inloggade vy – landningssida, eventuell personalisering baserat på hemort och kontosidan – inte verifieras i den här genomgången. Det som går att bekräfta är kommunens publika startsida, som ser likadan ut oavsett inloggningsstatus: samma katalog-, evenemang- och boendesektioner som en utloggad besökare ser. Notera också rutan «Hur beskriver du ditt besök?» längst ner, där ett av alternativen är «Jag bor här» – den mekanismen verkar vara den avsedda vägen för att sätta lokalbo-perspektivet, snarare än inloggning i sig.

Kommunens hemsida sedd utan inloggning
Kommunens hemsida med besöksval-rutan «Hur beskriver du ditt besök?»
Commune homepage with the «How would you describe your visit?» visitor-preference prompt

Since the login cannot be completed, the local resident’s logged-in view – the landing page, any personalisation based on home location, and the account page – could not be verified in this pass. What can be confirmed is the commune’s public homepage, which looks the same regardless of login status: the same catalogue, events, and accommodation sections that a logged-out visitor sees. Also note the «How would you describe your visit?» prompt at the bottom, where one option is «I live here» – that mechanism appears to be the intended way to set the local-resident perspective, rather than login itself.

Kommunens hemsida sedd utan inloggning
Kommunens hemsida med besöksval-rutan «Hur beskriver du ditt besök?»
Commune homepage with the «How would you describe your visit?» visitor-preference prompt
ℹ

Fixat (2026-09-08): Testinloggningen för lokalbo (demo.lokal@hds.se) gick tidigare inte att slutföra eftersom kontot aldrig hade skapats i databasen. Ett konto med rollen member och user_type=lokalbo har nu skapats med exakt de uppgifter som demopanelen visar (demo.lokal@hds.se / demo-lokal-2026), och inloggningen verifierades fungera på staging.Fixed (2026-09-08): The local-resident test login (demo.lokal@hds.se) previously could not be completed because the account had never been created in the database. An account with role member and user_type=lokalbo has now been created with exactly the credentials shown in the demo panel (demo.lokal@hds.se / demo-lokal-2026), and login was verified working on staging.