[stable30] fix: Hide download action when file does not provide download permissions
Backport of #2482
Warning, This backport's changes differ from the original and might be incomplete ⚠️
Todo
- [x] Review and resolve any conflicts
- [x] Amend HEAD commit to remove the line stating to skip CI
Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.
@skjnldsv can we merge this, please? :pray:
I've tested it, it works in general. The only one thing - we should update import in Viewer.vue: import { canDownload } from '../utils/canDownload.ts'
/compile amend /
@susnux mind fixing the conflicts ?
Any chance this lands on the next RC? Thanks 🙏
Sorry @solracsf , got overloaded with requests and missed that one :(
Files are missing and other conflicts @susnux
Files are missing and other conflicts
should be fixed
/compile
This looks like a server issue
- The init script is NOT added on public pages
- Even after it is, the
nc:share-attributesis empty.