Openbravo Issue Tracking System - POS2
View Issue Details
0046964POS2Corepublic2021-06-02 14:342021-11-19 10:55
timothee_catteeuw 
prakashmurugesan88 
normalmajoralways
closedfixed 
5
 
 
No
0046964: JIRA 1992 - Hide vertical menu icone if role has no permission
Currently lot of option at the left are just in grey instead of completely hiding. With multiple existing option and coming option we can expect, I think it will be better to hide an user action when it is not selected.

Cf. screenshot, currently we can just put in grey the report by hour, the need is to be able to hide it.

Also to be able to completely hide "rapports", currently even if all the reports are deactivated for a role, we will continue to display the report and all the reports in grey.
Delete on BO a user action access depending on the list or the main option available at the left.
GO to the till the option is in grey.
No tags attached.
png 2021_06_02_14_33_49_Openbravo_POS2.png (31,051) 2021-06-02 14:34
https://issues.openbravo.com/file_download.php?file_id=15875&type=bug
png

png 2021_06_02_14_50_15_Openbravo_POS2.png (7,833) 2021-06-02 14:51
https://issues.openbravo.com/file_download.php?file_id=15876&type=bug
png
Issue History
2021-06-02 14:34timothee_catteeuwNew Issue
2021-06-02 14:34timothee_catteeuwAssigned To => Retail
2021-06-02 14:34timothee_catteeuwFile Added: 2021_06_02_14_33_49_Openbravo_POS2.png
2021-06-02 14:34timothee_catteeuwTriggers an Emergency Pack => No
2021-06-02 14:51timothee_catteeuwFile Added: 2021_06_02_14_50_15_Openbravo_POS2.png
2021-06-14 09:45guilleaerResolution time => 1625176800
2021-06-14 09:45guilleaerCategoryRestaurants => Core
2021-06-14 09:45guilleaerTypedesign defect => feature request
2021-06-14 09:45guilleaerStatusnew => acknowledged
2021-06-14 09:48guilleaerTarget VersionTAP =>
2021-06-28 12:15prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2021-06-28 12:15prakashmurugesan88Statusacknowledged => scheduled
2021-06-28 13:04prakashmurugesan88Assigned Toprakashmurugesan88 => platform
2021-06-28 13:04prakashmurugesan88Statusscheduled => acknowledged
2021-06-29 11:49cbernerAssigned Toplatform => cberner
2021-07-01 12:04cbernerAssigned Tocberner => platform
2021-07-01 12:11guilleaerResolution time1625176800 => 1630360800
2021-11-02 04:08prakashmurugesan88Assigned Toplatform => prakashmurugesan88
2021-11-02 04:08prakashmurugesan88Statusacknowledged => scheduled
2021-11-10 07:07hgbotNote Added: 0132922
2021-11-19 10:55hgbotResolutionopen => fixed
2021-11-19 10:55hgbotStatusscheduled => closed
2021-11-19 10:55hgbotNote Added: 0133214
2021-11-19 10:55hgbotNote Added: 0133215

Notes
(0132922)
hgbot   
2021-11-10 07:07   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/662 [^]
(0133214)
hgbot   
2021-11-19 10:55   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 25a84db18bec5bf771ba8151e3d56f581294ec21
Author: Prakash M <prakash@qualiantech.com>
Date: 2021-11-19T10:40:50+01:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/25a84db18bec5bf771ba8151e3d56f581294ec21 [^]

Fixed BUG-46964: Hided menu item if it has no permission
* Hided menu group if all its menu items don't have permission

---
M web-jspack/org.openbravo.core2/src/components/DrawerMenu/DrawerMenu.scss
M web-jspack/org.openbravo.core2/src/components/DrawerMenu/DrawerMenuGroup.jsx
M web-jspack/org.openbravo.core2/src/components/DrawerMenu/DrawerMenuItem.jsx
M web-jspack/org.openbravo.core2/src/components/DrawerMenu/__mock__/DrawerMenu.config.json
M web-jspack/org.openbravo.core2/src/components/DrawerMenu/__test__/DrawerMenu.test.jsx
M web-jspack/org.openbravo.core2/src/components/DrawerMenu/stories/DrawerMenu.stories.jsx
---
(0133215)
hgbot   
2021-11-19 10:55   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/662 [^]