setupFS for share user before accepting a federated share#37834
setupFS for share user before accepting a federated share#37834phil-davis merged 1 commit intomasterfrom
Conversation
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
5df69aa to
db08a09
Compare
Codecov Report
@@ Coverage Diff @@
## master #37834 +/- ##
=========================================
Coverage 64.75% 64.75%
Complexity 19392 19392
=========================================
Files 1284 1284
Lines 75755 75756 +1
Branches 1333 1333
=========================================
+ Hits 49057 49058 +1
Misses 26306 26306
Partials 392 392
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
That's a safety net that we have but we shouldn't use or abuse. If you call the According to my investigation, the problem isn't that the |
Do you mean this definition in the info.xml: ? If yes, then that's actually pretty important for any app which listens the filesystem hooks, and depends on them for correct functionality. If this tag is not given, the application is allowed to be "Enable only for specific groups" by the admin. When this is done, the application cannot react to the file system hooks from all users, and the music database may end up to inconsistent state, containing references to files which do not exist. |
|
@karakayasemi @paulijar @jvillafanez @micbar Applying the patch works, I tested manually. Which are the next steps? |
|
I'm not fully happy with the solution, but I don't want to block this fix. If everyone agrees, I'm fine with merging the PR. |
|
@karakayasemi please rebase |
db08a09 to
c605ab0
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
Description
Filesystem may not set already for shared user in some cases when accepting a federated share. This PR resolves this problem. Since
setupFSfunction does not allows second initialization, this pr change will not affect performance.Related Issue
Motivation and Context
Resolving bugs.
How Has This Been Tested?
Manually with the sconario describe in related issues.
Types of changes
Checklist: