Open
Description
Bug description
Some of our users can change their profile page only in the CP.
To show the upload file button for assets fields (e.g. an avatar field), the user role needs to have at least access to one site, even if the profile or the asset container are not even using any connections (as far as I know) to the different sites.
How to reproduce
- Make Multisite
- Add asset field to user blueprint
- Create Role
- Allow access to asset container
- Add / Remove access to site and check the visibility of the file upload button. (logout and login after changing the site accesses)
Logs
Environment
Environment
Application Name: Schweiz
Laravel Version: 11.41.3
PHP Version: 8.3.14
Composer Version: 2.8.4
Environment: local
Debug Mode: ENABLED
URL: localhost
Maintenance Mode: OFF
Timezone: Europe/Zurich
Locale: de
Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED
Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: smtp
Queue: sync
Session: file
Statamic
Addons: 0
Sites: 4 (Schweiz, Aargau, St. Gallen, Baselland)
Stache Watcher: Enabled
Static Caching: Disabled
Version: 5.46.1 PRO
Installation
Fresh statamic/statamic site via CLI
Additional details
No response