We also have an FAQ about this topic – please check it out: FAQ: Read-only access to app after changing GitHub repo name or username.
Pasting the relevant info below for reference:
Problem
After changing the name of the GitHub repository associated with your app or updating your GitHub username, you no longer have edit access for your deployed Streamlit app.Solution
There are two options for resolving this issue:
- You can change your repo name or username back to its original value – this will restore your edit access for the deployed app. You can then delete the app and re-deploy it after changing your repo name or username.
- You can create a ticket for our support team by following the process described here. The support team can delete the app for you so that you can redeploy the app with the updated repo name or username.
Note: this will also happen if you delete the repo associated with your Streamlit app (before deleting the app). In that case, temporarily creating a new repo with the same name should restore your permissions so that you can delete the Streamlit app, or you can create a support ticket (option 2 above).
Resources