Changes between Initial Version and Version 1 of AdvancedApplicationDesign/registracija


Ignore:
Timestamp:
08/20/24 18:30:59 (3 months ago)
Author:
216049
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedApplicationDesign/registracija

    v1 v1  
     1= Регистрација на корисник
     2
     3==== Објанување:
     4
     5Секој корисник кога ќе создаде профил на апликацијата се подразбира дека е патник и затоа му се доделува улогата Патник. Потоа администраторите можат да додадат или одземат улоги: Кондуктер, Возач или Админ.
     6
     7=== Регистрација:
     8
     9-- slika za register
     10
     11{{{#!div style="font-size: 80%"
     12  {{{#!sql
     13
     14Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon from public.korisnik k1_0 where k1_0.email=?
     15Hibernate: select r1_0.id,r1_0.description,r1_0.name from public.role r1_0 where upper(r1_0.name) like upper(?) escape '\'
     16Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon,r1_0.korisnik_id,r1_0.id,r2_0.id,r2_0.description,r2_0.name from public.korisnik k1_0 left join public.korisnik_role r1_0 on k1_0.id=r1_0.korisnik_id left join public.role r2_0 on r2_0.id=r1_0.role_id where k1_0.id=?
     17Hibernate: update public.korisnik set is_admin=?,adresa=?,email=?,ime=?,lozinka=?,telefon=? where id=?
     18Hibernate: insert into public.patnik (korisnik_id) values (?) returning id
     19Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon from public.korisnik k1_0 where k1_0.email=?
     20Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon from public.korisnik k1_0 where k1_0.email=?
     21Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon from public.korisnik k1_0 where k1_0.email=?
     22Hibernate: select r1_0.korisnik_id,r1_0.id,r2_0.id,r2_0.description,r2_0.name from public.korisnik_role r1_0 left join public.role r2_0 on r2_0.id=r1_0.role_id where r1_0.korisnik_id=?
     23Hibernate: select k1_0.id,k1_0.is_admin,k1_0.adresa,k1_0.email,k1_0.ime,k1_0.lozinka,k1_0.telefon from public.korisnik k1_0 where k1_0.email=?
     24Hibernate: select r1_0.korisnik_id,r1_0.id,r2_0.id,r2_0.description,r2_0.name from public.korisnik_role r1_0 left join public.role r2_0 on r2_0.id=r1_0.role_id where r1_0.korisnik_id=?
     25}}}
     26}}}
     27
     28--- slika od admin panel so users i roles