Commit ef352148 authored by Cyril Vazquez's avatar Cyril Vazquez

New demo data

parent 692336a9
...@@ -5,13 +5,14 @@ SET CLIENT_ENCODING TO 'UTF8'; ...@@ -5,13 +5,14 @@ SET CLIENT_ENCODING TO 'UTF8';
INSERT INTO "auth"."account" ("accountType", "accountId", "lastName", "firstName", "title", "displayName", "accountName", "emailAddress", "password","enabled","passwordChangeRequired","passwordLastChange", "locked", "badPasswordCount","lastLogin","lastIp","replacingUserAccountId") VALUES INSERT INTO "auth"."account" ("accountType", "accountId", "lastName", "firstName", "title", "displayName", "accountName", "emailAddress", "password","enabled","passwordChangeRequired","passwordLastChange", "locked", "badPasswordCount","lastLogin","lastIp","replacingUserAccountId") VALUES
('user', 'superadmin', 'Super', 'Admin', 'M.', 'super admin', 'superadmin', 'info@maarch.org', '186cf774c97b60a1c106ef718d10970a6a06e06bef89553d9ae65d938a886eae',true,false,null,false,0,null,null,null); ('user', 'superadmin', 'Super', 'Admin', 'M.', 'super admin', 'superadmin', 'info@maarch.org', '186cf774c97b60a1c106ef718d10970a6a06e06bef89553d9ae65d938a886eae',true,false,null,false,0,null,null,null);
-- ROLE -- ROLE
INSERT INTO "auth"."role"("roleId", "roleName", "description", "enabled") VALUES INSERT INTO "auth"."role"("roleId", "roleName", "description", "enabled") VALUES
('ADMIN', 'Administrateur', 'Groupe administrateur', true), ('ADMIN', 'Administrateur', 'Groupe administrateur', true),
('CORRESPONDANT_ARCHIVES', 'Archiviste', 'Correspondant d''archives', true), ('CORRESPONDANT_ARCHIVES', 'Archiviste', 'Correspondant d''archives', true),
('UTILISATEUR', 'Utilisateur', 'Groupe utilisateur', true); ('UTILISATEUR', 'Utilisateur', 'Groupe utilisateur', true);
-- privilege -- PRIVILEGE
INSERT INTO "auth"."privilege"("roleId", "userStory") VALUES INSERT INTO "auth"."privilege"("roleId", "userStory") VALUES
('ADMIN', 'adminTech/*'), ('ADMIN', 'adminTech/*'),
('ADMIN', 'adminFunc/AdminArchivalProfileAccess'), ('ADMIN', 'adminFunc/AdminArchivalProfileAccess'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment