mozilla-iam / dino-park-front-end

Front-end for Mozillians.org
Mozilla Public License 2.0
37 stars 32 forks source link

only show request invitation section to ndaed (SE-3203) #681

Closed floatingatoll closed 1 year ago

floatingatoll commented 2 years ago

dino-park-front-end displays Request Invitation even when the user doesn't have access to the groups API to accept it:

https://github.com/mozilla-iam/dino-park-packs/blob/89e4ac271f69c762d3aee41e108c11b65548c403/src/api/current.rs#L58

This ideally will fix the front-end to only show the UI when the user is able to use it.