I have a simple app with some pages in the pages folder.
I love how easy is to have the sidebar rendered, however I havent found documentation in how to customize the sidebar.
I have a page which is protected to administrators only, and this shouldnt be rendered in the sidebar.
I tried this:
if is_user_in_group(st.session_state[‘user_groups’], ‘8f34fbb9-f5d2-431b-9cab-504e872912de’):
# Add a link to navigate to “Page 1” if the user is in the specific group
if st.sidebar.button(“Admin”):
admin.show()
However this only renders below the sidebar, the automatic rendered side bar is still there.