Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.31k stars 1.53k forks source link

Short App Links for Regular Users #3915

Closed serkonyc closed 2 years ago

serkonyc commented 2 years ago

Describe the bug Short app links don't work for regular users until you set up development/administration access level on user level. Please find some screenshots below.

The BB system is deployed to Ubuntu instance via Docker container using BB CLI.

To Reproduce Steps to reproduce the behavior:

  1. Create an app, e.g., named 'TIMS'
  2. Publish this and open using short link like http://domain.com:10000/app/tims
  3. Check that home page is shown
  4. Open incognito window and go to the same URL, e.g., http://domain.com:10000/app/tims
  5. See the "too many redirects" error
  6. Go to the full automatically generated URL, e.g., http://domain.com:10000/app_fda6032376cd4f7788bf1574acb93583
  7. Login page is successfully shown

Expected behavior Login screen must be shown.

Screenshots

Under admin/dev user (works, short link):

TIMS 2022-01-04 14-54-29

Under regular/guest user (fails, short link):

TIMS 2022-01-04 14-55-24

Under unauthenticated guest (works, full link):

Budibase 2022-01-04 15-00-44

Desktop:

serkonyc commented 2 years ago

UPD: this doesn't depend on level of user role. Tried basic/power/admin access level – works only when user is updated with admin/dev flag using main builder window.