If I don't include the allowsReparenting capability in FileProviderItem capabilities list, the system allows to move the folder to another parent.
Example of my capabilities list:
var capabilities: NSFileProviderItemCapabilities {
[.allowsReading, .allowsWriting, .allowsRenaming, .allowsDeleting]
}
Expected: when I move the item (ie Folder) in Finder to another location, Finder should present an error that move is not allowed.
Actual: even though I didn't include allowsReparenting capability, system still allows to move the item in Finder.
Did anyone encounter similar issue. I guess I'll submit a bug report to Apple, but maybe I'm missing something here?