Skip to content

Adding new user to workbench via drools-users.properties #43

@danilodeLuca

Description

@danilodeLuca

Hello,
I'm trying to add new users via drools-users.properties file, but something is wrong.
You can check my forked repository to get the diff code or follow as bellow.
Some considerations:

  1. When I login into workbench with user "admin" and check the users list, my new user "xablau" exists.
  2. Using the user "admin" if I change the xablau's password then I try to login works!
diff --git a/etc/drools-roles.properties b/etc/drools-roles.properties
index d9f91c5..51613de 100644
--- a/etc/drools-roles.properties
+++ b/etc/drools-roles.properties
@@ -1,4 +1,5 @@
 admin=admin,analyst,kiemgmt,rest-all
+xablau=admin,analyst,kiemgmt,rest-all
 krisv=admin,analyst
 john=analyst,Accounting,PM
 sales-rep=analyst,sales
diff --git a/etc/drools-users.properties b/etc/drools-users.properties
index 7c7a308..986227e 100644
--- a/etc/drools-users.properties
+++ b/etc/drools-users.properties
@@ -1,5 +1,6 @@
 #admin=admin
 admin=207b6e0cc556d7084b5e2db7d822555c
+xablau=207b6e0cc556d7084b5e2db7d822555c
 
 #krisv=krisv
 krisv=7b21a03b9918f9c629a46e119a9b8714

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions