Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023029Openbravo ERPA. Platformpublic2013-02-11 12:502013-02-28 13:32
dbaz 
dbaz 
highmajoralways
closedfixed 
5
 
3.0MP21 
AugustoMauch
Core
No
0023029: Add capabilities to set a 'Role' as "Portal" role
Add capabilities to set a 'Role' as "Portal" role. Only for Professional Subscriptions. That means the following:

This "Portal" role won't display the quick launch, quick run, application menu, alerts nor help.

In the "User Profile" menu option, just the "Change password" option will be available

In the "Workspace", the left bar (recent views, add widget, ...) won't be shown

Optionally, there will be an optional module:
https://code.openbravo.com/erp/mods/org.openbravo.userinterface.skin.portal.base/ [^]
that will allow move the remaining navigation bar options to the right, and set the logout (end session) icon as text
First, WITH a Professional instance:
* As "Openbravo Admin"
* Go to "Role" window
* Mark, for example, for the role "F&B España S.A - Finance" the checkbox "For Portal Users"
* Save
* Now in the "User Profile" menu option, change the role to "F&B España S.A - Finance"

Now you should see the application as described in the previous description.


Now, WITHOUT a Professional instance:
* Login as "F&B España S.A - Finance" (previous created Portal user)
* Notice that the workspace is not shown, and in its place, a dialog warning about your license

* Login as "Openbravo Admin"
* Go to "Role" window
* Mark, for example, for the role "F&B España S.A - Employee" the checkbox "For Portal Users". A dialog should raise, and the checkbox value remains uncheched
No tags attached.
Issue History
2013-02-11 12:50dbazNew Issue
2013-02-11 12:50dbazAssigned To => dbaz
2013-02-11 12:50dbazModules => Core
2013-02-11 12:50dbazTriggers an Emergency Pack => No
2013-02-11 13:21dbazReview Assigned To => AugustoMauch
2013-02-11 13:21dbazNote Added: 0056331
2013-02-11 13:52hgbotCheckin
2013-02-11 13:52hgbotNote Added: 0056334
2013-02-11 13:52hgbotStatusnew => resolved
2013-02-11 13:52hgbotResolutionopen => fixed
2013-02-11 13:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/892d969472dfe794775c8620970d9b452b407837 [^]
2013-02-12 15:44dbazStatusresolved => new
2013-02-12 15:44dbazResolutionfixed => open
2013-02-12 15:48dbazDescription Updatedbug_revision_view_page.php?rev_id=4405#r4405
2013-02-12 15:48dbazSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=4407#r4407
2013-02-12 15:48dbazStatusnew => scheduled
2013-02-12 15:48dbazfix_in_branch => pi
2013-02-12 15:48dbazStatusscheduled => resolved
2013-02-12 15:48dbazResolutionopen => fixed
2013-02-12 15:51hgbotCheckin
2013-02-12 15:51hgbotNote Added: 0056398
2013-02-12 16:18hgbotCheckin
2013-02-12 16:18hgbotNote Added: 0056399
2013-02-20 04:49hudsonbotCheckin
2013-02-20 04:49hudsonbotNote Added: 0056560
2013-02-20 04:50hudsonbotCheckin
2013-02-20 04:50hudsonbotNote Added: 0056585
2013-02-20 04:50hudsonbotCheckin
2013-02-20 04:50hudsonbotNote Added: 0056586
2013-02-20 14:16hgbotCheckin
2013-02-20 14:16hgbotNote Added: 0056636
2013-02-20 15:56hgbotCheckin
2013-02-20 15:56hgbotNote Added: 0056638
2013-02-20 19:27hgbotCheckin
2013-02-20 19:27hgbotNote Added: 0056654
2013-02-21 13:50hgbotCheckin
2013-02-21 13:50hgbotNote Added: 0056681
2013-02-21 17:48hudsonbotCheckin
2013-02-21 17:48hudsonbotNote Added: 0056695
2013-02-21 17:48hudsonbotCheckin
2013-02-21 17:48hudsonbotNote Added: 0056696
2013-02-21 17:48hudsonbotCheckin
2013-02-21 17:48hudsonbotNote Added: 0056702
2013-02-22 07:57hudsonbotCheckin
2013-02-22 07:57hudsonbotNote Added: 0056714
2013-02-28 13:32AugustoMauchNote Added: 0056837
2013-02-28 13:32AugustoMauchStatusresolved => closed
2013-02-28 13:32AugustoMauchFixed in Version => 3.0MP21

Notes
(0056331)
dbaz   
2013-02-11 13:21   
The test case should be splitted in two different pieces: with and without the module:
https://code.openbravo.com/erp/mods/org.openbravo.userinterface.skin.portal.base/ [^]

to ensure that it works ok too.
(0056334)
hgbot   
2013-02-11 13:52   
Repository: erp/devel/pi
Changeset: 892d969472dfe794775c8620970d9b452b407837
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Mon Feb 11 13:51:57 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/892d969472dfe794775c8620970d9b452b407837 [^]

Fixed issue 23029: Added capabilities to set a 'Role' as 'Portal' role

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/layout.js.ftl
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/alert-management/ob-alert-manager.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-application-menu.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-help-about-widget.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-logout-widget.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-quick-launch.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/navbar/ob-user-profile-widget.js
M modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-application-styles.js
M modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-navigation-bar-styles.js
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/application-dynamic-js.ftl
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-widget.js
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
---
(0056398)
hgbot   
2013-02-12 15:51   
Repository: erp/devel/pi
Changeset: 9ca29f4331b0c9e73363b14d0cff8c927f9776b3
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Feb 12 15:51:34 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/9ca29f4331b0c9e73363b14d0cff8c927f9776b3 [^]

Related to issue 23029: Added license restrictions

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js
M src-db/database/sourcedata/AD_FIELD.xml
---
(0056399)
hgbot   
2013-02-12 16:18   
Repository: erp/devel/pi
Changeset: 45fb52770d5019b367f7b392875a1f77c7f26c54
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Feb 12 16:18:40 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/45fb52770d5019b367f7b392875a1f77c7f26c54 [^]

Related to issue 23029: Added license restrictions - microfix

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
---
(0056560)
hudsonbot   
2013-02-20 04:49   
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/d828167a9e83 [^]

Maturity status: Test
(0056585)
hudsonbot   
2013-02-20 04:50   
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/d828167a9e83 [^]

Maturity status: Test
(0056586)
hudsonbot   
2013-02-20 04:50   
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/d828167a9e83 [^]

Maturity status: Test
(0056636)
hgbot   
2013-02-20 14:16   
Repository: erp/devel/pi
Changeset: 5f5db8c0d9d1f94d2735967380890b0e62ede13d
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Wed Feb 20 14:15:37 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5f5db8c0d9d1f94d2735967380890b0e62ede13d [^]

Related to issue 23029: Fixed typo in description

---
M src-db/database/sourcedata/AD_FIELD.xml
---
(0056638)
hgbot   
2013-02-20 15:56   
Repository: erp/devel/pi
Changeset: 4f70e2becd1ca8c26ce097b06c2dd90c4b664161
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Wed Feb 20 15:55:45 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/4f70e2becd1ca8c26ce097b06c2dd90c4b664161 [^]

Related to issue 23029: Fixed typo in description - part2

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0056654)
hgbot   
2013-02-20 19:27   
Repository: erp/devel/pi
Changeset: 7c5eea78ced5b28ba626c5e257af9b442af3f441
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Wed Feb 20 19:27:10 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7c5eea78ced5b28ba626c5e257af9b442af3f441 [^]

Related to issue 23029: Added 'Portal Admin' check in 'Role' window

---
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
---
(0056681)
hgbot   
2013-02-21 13:50   
Repository: erp/devel/pi
Changeset: d63d93f6e256acae51834bddb717741759159a54
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Thu Feb 21 13:50:02 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d63d93f6e256acae51834bddb717741759159a54 [^]

Related to issue 23029: Added properties to 'OB.User' object

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/templates/application-dynamic-js.ftl
M src/org/openbravo/dal/core/OBContext.java
---
(0056695)
hudsonbot   
2013-02-21 17:48   
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/2add4de9509d [^]

Maturity status: Test
(0056696)
hudsonbot   
2013-02-21 17:48   
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/2add4de9509d [^]

Maturity status: Test
(0056702)
hudsonbot   
2013-02-21 17:48   
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/2add4de9509d [^]

Maturity status: Test
(0056714)
hudsonbot   
2013-02-22 07:57   
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/b99c43bfb674 [^]

Maturity status: Test
(0056837)
AugustoMauch   
2013-02-28 13:32   
Code reviewed and verified in pi@fa16f64b5c9f