eclipse-tractusx / portal-frontend

Portal Frontend
Apache License 2.0
4 stars 25 forks source link

feat(my organization view): Change required role for my organization view #857

Closed typecastcloud closed 4 weeks ago

typecastcloud commented 1 month ago

Description

Added ROLES.MY_ORGANIZATION_VIEW constant and use this to decide access for PAGES.ORGANIZATION

I was unsure about the intention for unused ROLES.ORGANIZATION_VIEW @oyo. Alternatively we can use that one instead.

Why

With role to access data for my organization I also want access to FE view. There is a mismatch between BE endpoint and FE page role requirement.

Issue

Refs: #856

Checklist

nidhigarg-bmw commented 4 weeks ago

@jjeroch I noticed 'ORGANIZATION_VIEW' is unused in our project. So, we can remove this.

sonarcloud[bot] commented 4 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud