What i am looking for is that in the login screen in addition to Username and Password. A dropdown with Label “Role” to be shown(Principal or Teacher).
Based on the details provided (Username, Password, and Role). The role-based page should be shown. i.e., the view of each page is different
Is this approach possible via the config.yml approach? or some other approach is required to achieve this functionality.
PFA image.
Is this achievable through current version of streamlit? because it is more important when we are developing an application like having admin users and regular users. if admin user logs in, the pages and tabs will different than the regular users logs in. (more like role based authorization). I know streamlit is supporting the authentication.
Also whether it is possible to restrict the data with role based authorization. ex. if an user is in US, i wanted to shown him the data related to that particular country, more kind of country specific.