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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018504
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] B. User interfacemajoralways2011-09-12 15:462012-04-02 06:11
ReporterpsanjuanView Statuspublic 
Assigned Toalostale 
PriorityurgentResolutionfixedFixed in Version3.0MP10
StatusclosedFix in branchFixed in SCM revision5acb2f2f3505
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionpiSCM revision 
Review Assigned To
Web browserInternet Explorer
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018504: Application Dictionary - Some windows are added to Roles when it shouldn't

DescriptionApplication Dictionary - Reference
Application dictionary - Navigation bar components
Application dictionary - View implementation

1. Windows should not be added to the newly role when performing Initial Client Setup
2. The same when creating a role which is not marked as manual

It seems there is a problem with the definition of the tables
Steps To Reproduce1. Execute initial client setup. Notice that these three windows are added to the newly role. THIS IS WRONG
2. Create a role with the flag Manual not marked. Notice that when saving the record these three windows are added to the role
TagsNo tags attached.
Attached Filespng file icon 18504_1.png [^] (63,151 bytes) 2011-09-12 15:53


png file icon 18504_2.png [^] (53,367 bytes) 2011-09-12 15:53

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0046690)
alostale (manager)
2012-03-23 14:27

Changed the logic to assign windows on role creation to work in the same way update access does. Role creation granted access to all windows having at least one tab with a table of the same level as the new role, whereas update access process takes into account only the level of the first tab of the window.

After this fix update access process and role creation should grant access to the same windows.

This fix adds no risk because it makes trigger to work in the same way as update access process does.


Test plan:
 -Verify steps to reproduce are fixed
 -Verify role creation and update access grant same access:
   -Crate automatic roles for each of the possible levels
   -List the granted windows
   -Delete all granted windows and execute update access process
   -Check the granted windows now are the same as before deleting
(0046691)
hgbot (developer)
2012-03-23 14:28

Repository: erp/devel/pi
Changeset: 5acb2f2f35054e9f8d22f8f1954243c342d896b5
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Mar 23 14:22:43 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/5acb2f2f35054e9f8d22f8f1954243c342d896b5 [^]

fixed bug 18504: Some windows are added to Roles when it shouldn't

 Changed the logic to assign windows on role creation to work in the same
 way update access does. Role creation granted access to all windows having
 at least one tab with a table of the same level as the new role, whereas
 update access process takes into account only the level of the first tab
 of the window.

---
M src-db/database/model/triggers/AD_ROLE_TRG.xml
---
(0046852)
guilleaer (developer)
2012-03-28 17:39

Code reviewed and tested using oracle and postgresql in pi@5438f39cd047
(0047215)
hudsonbot (developer)
2012-04-02 06:11

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/7814864461ac [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-09-12 15:46 psanjuan New Issue
2011-09-12 15:46 psanjuan Assigned To => dbaz
2011-09-12 15:46 psanjuan Web browser => Internet Explorer
2011-09-12 15:46 psanjuan Modules => Core
2011-09-12 15:50 psanjuan Web browser Internet Explorer => Internet Explorer
2011-09-12 15:50 psanjuan Summary Application Dictionary - Reference window should be removed for the Admin user => Application Dictionary - Reference window should be removed for the "Admin" users but for System Admin user.
2011-09-12 15:50 psanjuan Description Updated View Revisions
2011-09-12 15:50 psanjuan Steps to Reproduce Updated View Revisions
2011-09-12 15:53 psanjuan File Added: 18504_1.png
2011-09-12 15:53 psanjuan File Added: 18504_2.png
2011-09-22 13:32 iperdomo Relationship added duplicate of 0018324
2011-09-22 13:32 iperdomo Status new => closed
2011-09-22 13:32 iperdomo Resolution open => duplicate
2012-03-23 12:16 psarobe Relationship deleted 0018324
2012-03-23 12:17 psarobe Assigned To dbaz => alostale
2012-03-23 12:17 psarobe Status closed => new
2012-03-23 12:17 psarobe Resolution duplicate => open
2012-03-23 12:22 psarobe Web browser Internet Explorer => Internet Explorer
2012-03-23 12:22 psarobe Priority high => urgent
2012-03-23 12:22 psarobe Status new => scheduled
2012-03-23 12:22 psarobe version => pi
2012-03-23 12:22 psarobe Target Version 3.0MP6 =>
2012-03-23 12:22 psarobe Description Updated View Revisions
2012-03-23 12:22 psarobe Steps to Reproduce Updated View Revisions
2012-03-23 12:23 psarobe Web browser Internet Explorer => Internet Explorer
2012-03-23 12:23 psarobe Summary Application Dictionary - Reference window should be removed for the "Admin" users but for System Admin user. => Application Dictionary - Some windows are added to Roles when it shouldn't
2012-03-23 14:27 alostale Note Added: 0046690
2012-03-23 14:28 hgbot Checkin
2012-03-23 14:28 hgbot Note Added: 0046691
2012-03-23 14:28 hgbot Status scheduled => resolved
2012-03-23 14:28 hgbot Resolution open => fixed
2012-03-23 14:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5acb2f2f35054e9f8d22f8f1954243c342d896b5 [^]
2012-03-28 17:39 guilleaer Note Added: 0046852
2012-03-28 17:39 guilleaer Status resolved => closed
2012-03-28 17:39 guilleaer Fixed in Version => 3.0MP10
2012-04-02 06:11 hudsonbot Checkin
2012-04-02 06:11 hudsonbot Note Added: 0047215


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker