Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027889
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajoralways2014-10-16 16:042014-10-17 13:52
ReporterlorenzofidalgoView Statuspublic 
Assigned Todmiguelez 
PrioritynormalResolutionfixedFixed in Version3.0PR14Q4
StatusclosedFix in branchFixed in SCM revision55931ce032bf
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToOrekaria
Web browserGoogle Chrome
ModulesCore
Regression levelPackaging and release
Regression date
Regression introduced in release3.0PR14Q3.1
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027889: In POS, Menu | User | Role change does NOT work properly

DescriptionWhen you change your role in POS it does not change correctly. You have to change twice for getting the access that the role should provide you.

To change your role to work in POS was possible in Q2 (without the need to change user role in POS twice to be able to have the access provided for that role). But in Q3 this works different but worse.
Steps To ReproduceIn POS backend: [RR14Q4]
Login into ERP System:

"Username": Openbravo
"Password": openbravo
Change the role as “The White Valley Group Admin”

Navigate to User window (General Setup || Security || User)

Create a new record (Ctrl + D)

To create a new user, enter the below user details

Client: The White Valley Group
Organization: *
Name: manualuser
Username: manualuser
Password: openbravo
Click Ctrl + s to save the details

Then navigate to POS Terminal Access tab

Click Ctrl + D to add a new record

Then enter POS Terminal: CMS POS Terminal (This will depend on your terminal)
Click Ctrl + S to save the details


Navigate to Role window (General Setup || Security || Role)

Create a new record by clicking the hot keys Ctrl + D

To create a new user role, enter the below user details

Client: The White Valley Group
Organization: *
Name: Manual User Role
User level: Organization
Manual: Checked
Restricted Backend access: Checked
Click Ctrl + s to save the details

Then navigate to Org Access tab

Click Create one link to add new record

Organization: Central Mountains Store (This again depends on your terminal) (I will assume that you are using CMS-1 POS terminal)
Organization Administrator: No
Then navigate to User Assignment tab

Click Create one link to add new record

Then select below details

User/Contact: manualuser
Role Administrator: Unchecked
Then navigate to Form Access

Click Create one link to add new record

Then select below details

Special Form: Web POS
Click Ctrl + s to save the details


Go again to User window, select manualuser record and go to "User Roles" tab.
Create new record and add "the white valley group admin" role and set it as active.
Create new record and add "FranchiseValleyUser" role and set it as active.
(Now you should have 3 roles: "manual user role", "the white valley group admin" and "FranchiseValleyUser").

Now go to POS and log in as manualuser/openbravo
(You must realise that you have the "PRICE" feature disabled). Go to the menu and go to User | Profile, and select "FranchiseValleyUser" role and Apply. Realise that PRICE feature is disabled. Go to Menu | User | Profile again and select "FranchiseValleyUser" role and Apply. You will now have "PRICE" feature enabled.


TagsNo tags attached.
Attached Filespng file icon Roles Issue Q4.png [^] (391,899 bytes) 2014-10-16 16:04
 file icon Doesn\'t let me use %22Price%22 feature but it should [^] (196,492 bytes) 2014-10-16 16:05 [Show Content]
png file icon I can use %22Price%22 feature, but I shouldnt be able to.png [^] (159,763 bytes) 2014-10-16 16:06

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0027891 closedOsmany Retail Modules "Set as default" role does NOT work properly in POS 
related to defect 0027893 closedmarvintm Retail Modules In POS, Menu | User | Profile, selecting a different role and Apply does NOT work. In Q2 this works. 

-  Notes
(0071031)
hgbot (developer)
2014-10-17 13:40

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 55931ce032bff8c3db95f1f7e21bd7a327edd6e2
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Fri Oct 17 13:39:41 2014 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/55931ce032bff8c3db95f1f7e21bd7a327edd6e2 [^]

Fixed issue 27889. Fixed issue 27893. If the context information (role, organization, ...) is changed, the user information cache will no longer be used.
This ensures that all needed information is reloaded correctly from the backend.

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-profile.js
---

- Issue History
Date Modified Username Field Change
2014-10-16 16:04 lorenzofidalgo New Issue
2014-10-16 16:04 lorenzofidalgo Assigned To => dmiguelez
2014-10-16 16:04 lorenzofidalgo File Added: Roles Issue Q4.png
2014-10-16 16:04 lorenzofidalgo Web browser => Google Chrome
2014-10-16 16:04 lorenzofidalgo Modules => Core
2014-10-16 16:04 lorenzofidalgo Regression level => Packaging and release
2014-10-16 16:04 lorenzofidalgo Regression introduced in release => 3.0PR14Q3.1
2014-10-16 16:04 lorenzofidalgo Triggers an Emergency Pack => No
2014-10-16 16:05 lorenzofidalgo File Added: Doesn\'t let me use %22Price%22 feature but it should
2014-10-16 16:06 lorenzofidalgo File Added: I can use %22Price%22 feature, but I shouldnt be able to.png
2014-10-16 16:15 lorenzofidalgo Web browser Google Chrome => Google Chrome
2014-10-16 16:15 lorenzofidalgo Description Updated View Revisions
2014-10-16 16:15 lorenzofidalgo Steps to Reproduce Updated View Revisions
2014-10-16 17:11 lorenzofidalgo Relationship added related to 0027891
2014-10-16 17:47 lorenzofidalgo Relationship added related to 0027893
2014-10-17 13:40 hgbot Checkin
2014-10-17 13:40 hgbot Note Added: 0071031
2014-10-17 13:40 hgbot Status new => resolved
2014-10-17 13:40 hgbot Resolution open => fixed
2014-10-17 13:40 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/55931ce032bff8c3db95f1f7e21bd7a327edd6e2 [^]
2014-10-17 13:52 Orekaria Review Assigned To => Orekaria
2014-10-17 13:52 Orekaria Status resolved => closed
2014-10-17 13:52 Orekaria Fixed in Version => 3.0PR14Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker