Openbravo Issue Tracking System - Modules
View Issue Details
0048976ModulesOpen APIpublic2022-04-05 18:102024-06-25 09:59
caristu 
Triage Platform Conn 
normalminorhave not tried
closedfixed 
5
 
 
caristu
No
0048976: Improve error when accessing to the Swagger Doc with a non authorized role
The error shown when it is not possible to access the swagger doc with a user because its default role has no permission should be improved. The error currently being shown is not clear. See attached image.
1) Configure a role with "Restrict backend access" field set as true
2) Set the role configured in step 1) as the default role for a user
3) Try to access to the swagger doc page: <environment_url>/api with the user configured in step 2). An error is displayed but it should be improved to inform about the reason which makes not possible to access.
No tags attached.
related to defect 0055546 closed Triage Platform Conn Roles with restricted backend access cannot see the Swagger Doc 
png error.png (73,421) 2022-04-05 18:10
https://issues.openbravo.com/file_download.php?file_id=16850&type=bug
png
Issue History
2022-04-05 18:10caristuNew Issue
2022-04-05 18:10caristuAssigned To => Triage Platform Conn
2022-04-05 18:10caristuFile Added: error.png
2022-04-05 18:10caristuOBNetwork customer => No
2022-04-05 18:10caristuStatusnew => acknowledged
2022-06-15 11:01caristuRelationship addedrelated to 0049544
2022-06-15 11:35caristuRelationship deletedrelated to 0049544
2024-05-21 16:16caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27992#r27992
2024-05-21 16:17caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27993#r27993
2024-05-21 16:18caristuRelationship addedrelated to 0055517
2024-05-21 16:44caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27996#r27996
2024-05-22 09:46caristuIssue cloned0055546
2024-05-22 09:46caristuRelationship addedrelated to 0055546
2024-05-22 09:47caristuRelationship deletedrelated to 0055517
2024-06-25 09:58caristuStatusacknowledged => scheduled
2024-06-25 09:59caristuReview Assigned To => caristu
2024-06-25 09:59caristuNote Added: 0166289
2024-06-25 09:59caristuStatusscheduled => closed
2024-06-25 09:59caristuResolutionopen => fixed
2024-06-25 10:00caristuNote Edited: 0166289bug_revision_view_page.php?bugnote_id=0166289#r28139

Notes
(0166289)
caristu   
2024-06-25 09:59   
(edited on: 2024-06-25 10:00)
This issue is no longer reproducible after the fix of 0055546