Changed Authentication

This commit is contained in:
2025-03-03 15:47:02 +01:00
parent 15f747807b
commit ab84002276
15 changed files with 255 additions and 73 deletions
@@ -0,0 +1,2 @@
create table role_privileges (id bigint not null, privileges varchar(255) not null check (privileges in ('LIST_USERS','ADD_USERS','LIST_QUIZZ')), primary key (id, privileges));
alter table if exists role_privileges add constraint FK7xfa4foqs58j7rhk6ex78hpf3 foreign key (id) references roles;