Closed beatrizaantunes closed 1 year ago
@Colombo97 can you check this please?
After a frontend debugging I noticed that the /catalog API endpoint is returning an empty array instead a fullfiled one. This property is necessary to render the state of toggle button.
@dadosfera/backend Could you check this?
I will take a look right away
After sharing the assets with 2 groups, the 2 groups are returned on the GET /catalog API endpoint
Nice! So this isn't exactly an bug but a business rule issue
We have decided to use a strategy using parameters on the GET /roles
route to apply the necessary business rule
The query param can be named canUntoggleLogic
with value data_assets_sharing
for this context. And on the response, along with all other properties, we will return a canUntoggle: boolean
on the roles that cannot be untoggled.
Nice, I gonna do the adjustments
It's on STG environment, awaiting validation @beatrizaantunes
Validated @gabrielrra @Colombo97 👍🏻
Mandatory informations:
There are customers are directly impacted by this bug? Which?
Impact all customers, but none have related this yet
Bug Category
Describe the bug
To Reproduce
Steps to reproduce the behavior:
What environment of software are you using?