cancel
Showing results for 
Search instead for 
Did you mean: 

edit 'h2.data.sql'

arne_engels
Champ in-the-making
Champ in-the-making
Hello!
I tried to add a new user to the existing demo-users and edited the 'h2.data.sql'-file in the demo folder:

insert into ACT_ID_USER values ('NewUser', 1, 'New', 'User', 'new@localhost', 'new');
insert into ACT_ID_MEMBERSHIP values ('NewUser', 'user');
insert into ACT_ID_MEMBERSHIP values (NewUser', 'accountancy');
The log-in works fine for the activiti-explorer and the user is displayed in the 'ACT_ID_USER'-table in activiti-probe (loged-in as admin). But the activiti-probe log-in doesen't work with the new user. There is no error-message, just happening nothing.   

Can somebody help?
Thanks a lot
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
Your user needs to be part of this group:

insert into ACT_ID_GROUP values ('user',        1, 'User', 'security-role');

arne_engels
Champ in-the-making
Champ in-the-making
Thanks for your answer, but i'm not sure if i got you right:
with insert into ACT_ID_MEMBERSHIP values ('NewUser', 'user'); the specified user should be already part of the existing 'user'-group, right ? (with 'insert into ACT_ID_GROUP values ('user', 1, 'User', 'security-role');' at the top of the file)
The 'New User' is listed as 'user' in the 'ACT_ID_MEMBERSHIP'-table.

I'm running the alpha3 with WinXP