1 insert into userbase(username,password,fullname,emailaddress,enabled)
2 values ('admin','e10adc3949ba59abbe56e057f20f883e','Administrator','jibu.gaixie@gmail.com',1);
4 insert into roles(name,lft,rgt,description)
5 values ('ROLE_BASE',1,4,'所有普通用户角色.');
6 insert into roles(name,lft,rgt,description)
7 values ('ROLE_ADMIN',2,3,'管理员角色,拥有所有权限,不要修改角色名称,无须绑定任何Autority.');
9 insert into user_role_map
12 (select id from userbase where username = 'admin'),
13 (select id from roles where name = 'ROLE_ADMIN')
16 insert into authorities (name,value) values ('system.administration.monitor','Monitor.z');
17 insert into authorities (name,value) values ('system.administration.pm','Role.z');
18 insert into authorities (name,value) values ('system.setting','Setting.y');
21 insert into settings (name,value,sortindex,enabled) values ('theme','blue',0,1);
22 insert into settings (name,value,sortindex,enabled) values ('theme','gray',1,1);
23 insert into settings (name,value,sortindex,enabled) values ('layout','classic',0,1);
24 insert into settings (name,value,sortindex,enabled) values ('language','en_US',1,1);
25 insert into settings (name,value,sortindex,enabled) values ('language','zh_CN',2,1);