on 01-19-2017 11:08 PM
I'm trying to access the instore backoffice with an existing user in the OOTB 6.2 and not able to either use an existing one to access it or create one to be able to do so.
It looks there is an extension called instoresampledata that will generate this users but I do not seem to have this extension included with my current lisencing. Also trying to create a user following instructions here but they are meant for the hmc and I'm not able to actually do the same in backoffice.
Has anyone accomplished to do this and can share how? Any other tips or comments also appreciated.
Hi Ignacio,
We found an issue with the login and to fix it you just need to change these lines in the file instore/web/webroot/WEB-INF/instore-spring-security.xml (minus = lines to be removed, plus = lines to be added)
- <intercept-url pattern="/**" access="isAuthenticated()" />
- <form-login
- always-use-default-target="false"
- login-page="/login.zul"
- authentication-failure-url="/login.zul?login_error=1"/>
- <logout/>
+ <intercept-url pattern="/**" />
+ <form-login always-use-default-target="false"
+ login-page="/login.zul"
+ authentication-failure-url="/login.zul?login_error=1"
+ username-parameter="j_username"
+ password-parameter="j_password"
+ login-processing-url="/j_spring_security_check"
+ />
+ <logout logout-url="/j_spring_security_logout" logout-success-url="/login.zul"/>
And to facilitate your test setup, you can import the impex below using hAC:
INSERT_UPDATE UserGroup;uid[unique=true];locname[lang=de];locname[lang=en];groups(uid)
;instoreemployeesgroup;In-Store-Gruppe;In-Store Employee Group;employeegroup
INSERT_UPDATE SearchRestriction;code[unique=true];name[lang=en];query;restrictedType(code);principal(uid);active[default=true];generate[default=false];
;inStoreProductVisibility;"In-Store Product Visibility";"{item:catalogVersion} IN (?session.catalogversions)";Product;instoreemployeesgroup;
# this user rights definition relates to ws tests
$START_USERRIGHTS;;;;;;;;;
Type;UID;MemberOfGroups;Password;Target;read;change;create;remove;change_perm
UserGroup;instoreemployeesgroup;;;;;;;;
;;;;ComposedType;+;+;+;+
;;;;Catalog;+;+;+;+
;;;;ContentCatalog;+;+;+;+
;;;;CatalogVersion;+;+;+;+
;;;;Category;+;+;+;+
;;;;Product;+;+;+;+
;;;;Unit;+;+;+;+
;;;;Media;+;+;+;+
;;;;MediaContainer;+;+;+;+
;;;;MediaFormat;+;+;+;+
$END_USERRIGHTS;;;;;
#=========//=========//=========
$defaultPassword=1234
# store employees groups per store
INSERT_UPDATE StoreEmployeeGroup;uid[unique=true];locname[lang=de];locname[lang=en];groups(uid);store(name)
;nakanoStoreEmployees;Nakano Arbeiter Gruppe;Nakano Employees Group;instoreemployeesgroup;Nakano
;shinbashiStoreEmployees;Shinbashi Arbeiter Gruppe;Shinbashi Employees Group;instoreemployeesgroup;Shinbashi
;misatoStoreEmployees;Misato Arbeiter Gruppe;Misato Employees Group;instoreemployeesgroup;Misato
# employees - members of store employees groups.
INSERT_UPDATE Employee;UID[unique=true];password[default=$defaultPassword];description;name;groups(uid)[mode=append];sessionLanguage(isocode)
;nakano-employee;;Nakano Employee;Nakano Employee;nakanoStoreEmployees;en;
;shinbashi-employee;;Shinbashi Employee;Shinbashi Employee;shinbashiStoreEmployees;en;
;misato-employee;;Misato Employee;Misato Employee;misatoStoreEmployees;en;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have redirecteds the question to the responisble team.
Cheers, Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.