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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0022644
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminorhave not tried2012-12-20 13:242013-01-31 13:21
ReportermarvintmView Statuspublic 
Assigned Tomarvintm 
PrioritynormalResolutionfixedFixed in Version3.0MP20
StatusclosedFix in branchFixed in SCM revisione5c99a21da3e
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToAugustoMauch
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0022644: It would be convenient to be able to restrict a role from accessing the backend

DescriptionBesides the ERP, Openbravo has a platform which can be used to develop other applications. Currently, the Web POS is a different application which can be used on Openbravo.

It would be very convenient to have an option to restrict a role from accessing the backend. This option would enable the user to access other applications, but not the backend.
Steps To Reproduce.
TagsNo tags attached.
Attached Filesdiff file icon restrictrole.diff [^] (24,125 bytes) 2013-01-09 16:14 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0055115)
hgbot (developer)
2012-12-20 13:28

Repository: erp/devel/pi
Changeset: a6b455bb80fc2972d7f09519d2ba3251d945d750
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Dec 20 13:27:34 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/a6b455bb80fc2972d7f09519d2ba3251d945d750 [^]

Fixed issue 22644. Now a role can be restricted from accessing the backend.
- A new check has been added to the role window. If this check is set, then the role cannot be used to log in the backend, but can be used to log in other applications (such as the WebPOS), if this restriction is overwritten in the corresponding login handler.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
M src-db/database/model/tables/AD_ROLE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/base/secureApp/DefaultOptions_data.xsql
M src/org/openbravo/base/secureApp/LoginHandler.java
---
(0055116)
hgbot (developer)
2012-12-20 13:30

Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6afaa593b6951649ca4aea1d310eaa796d834892
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Dec 20 13:30:19 2012 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6afaa593b6951649ca4aea1d310eaa796d834892 [^]

Related to issue 22644. Allow log in the POS if the restrict check is set

---
M src/org/openbravo/retail/posterminal/POSLoginHandler.java
---
(0055138)
hgbot (developer)
2012-12-20 19:10

Repository: erp/devel/pi
Changeset: e0cdc20e50b894563357b92d85ea6f4b2ebb6c00
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Dec 20 19:10:12 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e0cdc20e50b894563357b92d85ea6f4b2ebb6c00 [^]

Related to issue 22644. Rolled back changes. Will be done in a different way

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
M src-db/database/model/tables/AD_ROLE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/org/openbravo/base/secureApp/DefaultOptions_data.xsql
M src/org/openbravo/base/secureApp/LoginHandler.java
---
(0055206)
hudsonbot (developer)
2012-12-26 15:42

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/631fc2e1c525 [^]

Maturity status: Test
(0055208)
hudsonbot (developer)
2012-12-26 15:43

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/631fc2e1c525 [^]

Maturity status: Test
(0055242)
AugustoMauch (manager)
2012-12-27 13:17

Reopened because its fix was rolled back
(0055421)
marvintm (developer)
2013-01-09 16:14

A file with a fix has been added. The patch will be committed once the MP20 release cycle starts.
(0055652)
hgbot (developer)
2013-01-21 09:50

Repository: erp/devel/pi
Changeset: e5c99a21da3eee59c77303b801247a322c50a593
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jan 21 09:48:39 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/e5c99a21da3eee59c77303b801247a322c50a593 [^]

Fixed issue 22644. Now a role can be restricted from accessing the backend.
> - A new check has been added to the role table. If this check is set, the role will not have access to the backend.
> - Regardless of the value of this check, a role will be able to access other applications (such as the WebPOS), provided that it has access to the corresponding window.
> - If a user attempts to log in Openbravo, all its roles will be checked. If all the roles are restricted, the user will not be able to login. If the default role is restricted but others are available, the user will log in one of them.
> - If a user is already logged with a restricted user (for example, in the WebPOS), and attempts to open the backend, an error will be shown.

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
M referencedata/sampledata/F_B_International_Group.xml
M referencedata/sampledata/QA_Testing.xml
M src-db/database/model/tables/AD_ROLE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
M src/index.jsp
M src/org/openbravo/base/secureApp/DefaultOptions_data.xsql
M src/org/openbravo/base/secureApp/LoginHandler.java
---
(0055662)
hgbot (developer)
2013-01-21 11:45

Repository: erp/devel/pi
Changeset: 445835932ea426b23796ad928d7190e0c16b101b
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Jan 21 11:45:27 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/445835932ea426b23796ad928d7190e0c16b101b [^]

Related to issue 22644. Login process will now work correctly with Autologin

---
M src/index.jsp
---
(0055731)
hudsonbot (developer)
2013-01-22 15:33

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/449aae8be624 [^]

Maturity status: Test
(0055733)
hudsonbot (developer)
2013-01-22 15:33

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/449aae8be624 [^]

Maturity status: Test
(0056007)
AugustoMauch (manager)
2013-01-31 13:21

Code reviewed and verified in pi@a7dea24ffd6d

- Issue History
Date Modified Username Field Change
2012-12-20 13:24 marvintm New Issue
2012-12-20 13:24 marvintm Assigned To => marvintm
2012-12-20 13:24 marvintm Modules => Core
2012-12-20 13:24 marvintm Triggers an Emergency Pack => No
2012-12-20 13:28 hgbot Checkin
2012-12-20 13:28 hgbot Note Added: 0055115
2012-12-20 13:28 hgbot Status new => resolved
2012-12-20 13:28 hgbot Resolution open => fixed
2012-12-20 13:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a6b455bb80fc2972d7f09519d2ba3251d945d750 [^]
2012-12-20 13:30 hgbot Checkin
2012-12-20 13:30 hgbot Note Added: 0055116
2012-12-20 19:10 hgbot Checkin
2012-12-20 19:10 hgbot Note Added: 0055138
2012-12-26 15:42 hudsonbot Checkin
2012-12-26 15:42 hudsonbot Note Added: 0055206
2012-12-26 15:43 hudsonbot Checkin
2012-12-26 15:43 hudsonbot Note Added: 0055208
2012-12-27 13:17 AugustoMauch Note Added: 0055242
2012-12-27 13:17 AugustoMauch Status resolved => new
2012-12-27 13:17 AugustoMauch Resolution fixed => open
2013-01-09 16:14 marvintm File Added: restrictrole.diff
2013-01-09 16:14 marvintm Note Added: 0055421
2013-01-21 09:50 hgbot Checkin
2013-01-21 09:50 hgbot Note Added: 0055652
2013-01-21 09:50 hgbot Status new => resolved
2013-01-21 09:50 hgbot Resolution open => fixed
2013-01-21 09:50 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/a6b455bb80fc2972d7f09519d2ba3251d945d750 [^] => http://code.openbravo.com/erp/devel/pi/rev/e5c99a21da3eee59c77303b801247a322c50a593 [^]
2013-01-21 11:45 hgbot Checkin
2013-01-21 11:45 hgbot Note Added: 0055662
2013-01-22 09:34 AugustoMauch Review Assigned To => AugustoMauch
2013-01-22 15:33 hudsonbot Checkin
2013-01-22 15:33 hudsonbot Note Added: 0055731
2013-01-22 15:33 hudsonbot Checkin
2013-01-22 15:33 hudsonbot Note Added: 0055733
2013-01-31 13:21 AugustoMauch Note Added: 0056007
2013-01-31 13:21 AugustoMauch Status resolved => closed
2013-01-31 13:21 AugustoMauch Fixed in Version => 3.0MP20


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker