ausocean / openfish

OpenFish is an open-source system written in GoLang for classifying marine species. Tasks involve importing video or image data, classifying and annotating data (both manually and automatically), searching, and more. It is expected that OpenFish will use utilize computer vision and machine learning techniques.
https://ausocean.github.io/openfish/
Other
6 stars 0 forks source link

Add support for accessing logged in user through global context #182

Closed scott97 closed 1 month ago

scott97 commented 1 month ago

This is so we can show user interface items conditionally based upon user role. The user does not have to be passed as props, it is available to its children via the user context.

Here it is used to show the username and role in the navigation menu (top right corner): image