mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Link shares to the user, not the collective
The user is required when searching because of folders (sadly), so the share is connected to the user.
This commit is contained in:
@ -8,6 +8,7 @@ package docspell.common
|
||||
|
||||
import io.circe._
|
||||
|
||||
/** The collective and user name. */
|
||||
case class AccountId(collective: Ident, user: Ident) {
|
||||
def asString =
|
||||
if (collective == user) user.id
|
||||
|
Reference in New Issue
Block a user